Powershell Function Optional Parameter In Sql