Sql Server Function Declare Variable Powershell 7