sqone2 / PSFive9Admin

Powershell functions for working with the Five9 Admin Web Service API
MIT License
27 stars 13 forks source link

Get Variables #2

Closed Joey4420 closed 4 years ago

Joey4420 commented 4 years ago

So unlike several other options where you do not have to specify a name, when using Get Variable it returns an error.

Get-Five9CallVariable Cannot find a Call Variable with name: "" within the Group "". Remember that Name and Group are case sensitive. At C:\Program Files\WindowsPowerShell\Modules\PSFive9Admin\1.0.62\Public\CallVariables\Get-Five9CallVariable.ps1:41 char:13

sqone2 commented 4 years ago

Thanks Joey! I just made a change that makes the -Name and -Group parameters mandatory so that you can't use the function without them being specified. In order to see all variables and groups with one command, you can use Get-Five9CallVariableGroup with no parameters