-
Notifications
You must be signed in to change notification settings - Fork 5
Description
Describe the bug
When running any of the examples from Sample Commands such as:
Get-Phone -Name SEP706E6D10904E -Basic
i am met with:
Cannot index into a null array.
At T:\AdminTools\Scripts\Powershell\Modules\CUCMPosh\Public\Get-SettingsFile.ps1:32 char:3
$cucm_path = $MyInvocation.MyCommand.Module.PrivateData['cucm ...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : NullArray
Cannot index into a null array.
At T:\AdminTools\Scripts\Powershell\Modules\CUCMPosh\Public\Get-SettingsFile.ps1:32 char:3
$cucm_path = $MyInvocation.MyCommand.Module.PrivateData['cucm ...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : NullArray
Cannot index into a null array.
At T:\AdminTools\Scripts\Powershell\Modules\CUCMPosh\Private\Invoke-CUCMAPIRequest.ps1:22 char:2
$cucm_path = $MyInvocation.MyCommand.Module.PrivateData['cucm_pat ...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : NullArray
I am on windows 10 using the most current version of the download as of today's date.
This happens if i am using ISE or PowerGUI.
It will ultimately produce the desired output but causes these errors along the way.