Sql Server Function Declare Variable Powershell Activate Key