Get-VICommand works in PowerCLI, but not recognized in Windows PowerShell ISE
<p>I am using VMware vSphere PowerCLI, and in order to run <code>Get-VICommand</code> (as well as many other PowerCLI commands), I must launch the program with administrator privileges. However, if I type <code>ise</code> in PowerCLI to launch Windows PowerShell ISE, and then try and run <code>Get-VICommand</code> from ISE, the command will not work. I have tried manually launching Windows PowerShell ISE as administrator, but I get the same results.</p>

<p>Has anyone run into this problem and found a way to fix it? For now I can just run all of my commands from PowerCLI, but I would prefer to be able to use ISE, especially for writing long scripts that span dozens of lines.</p>

<p>I am running on Windows 7 if that helps.</p>