Hi,
Can anyone here please assist me in resetting the global:DefaultVIServer and global:DefaultVIServers system variables into $null ?
because I cannot do anything with my PowerShell anymore even after reinstalling the PowerCLi and upgrading it into 5.1U2, here's the output of the version information and the configuration information:
Any help would be greatly appreciated.
Thanks
The symptoms is that I cannot even issue a simple PowerCLi command to get the list of my VM, see the following error:
Hello, AlbertWT-
It looks like you might be using some PowerGUI (based on that temp PS1 filename), not just a straight PowerShell session with the PowerCLI PSSnapin(s) loaded -- is that the case? If so, there have been reports of uninstalling/reinstalling PowerGUI to work around the issue, that something in the PowerGUI configs is mucked up.
If you are using PowerGUI, can you give the uninstall/reinstall a try?
Yes I'm using the latest version of PowerGUI v3.6.0.8
Alright -- and, did you try an uninstall and reinstall of PowerGUI to see what effect that has on your situation? If not, how about you give it a try? If so, did it have any effect?
Hi,
I have uninstall and then reinstall the PowerGUI IDE again for the second time, but still the issue persisted.
Get-Variable cmdlets doesn't return anything with those two variables. global:DefaultVIServer and global:DefaultVIServers