Powershell Class Function Optional Parameter In Sql