Hey Everyone,
I am completely newbieand have just started out on the "managing vSphere with powershell" track. First problem:
Is it possible to use the Windows Powershell ISE with the vSphere cmdlets or can I only use the vSphere PowerCLI?
I'd like to be able to type my commands directly into the ISE window and manage my scripts etc through this (I find myself always cut n pasting to/from Notepad when using the PowerCLI).
If so, how do I do this?
I assume its something simple, but when I run the ISE it doesn't seem to have any of the vSphere cmdlets registered. I guess I am missing something?
Thanks,
Marc
In the ISE if you run the following cmdlet you will get the PowerCLI cmdlets registered:
Add-PSSnapin "Vmware.VimAutomation.Core"
In the ISE if you run the following cmdlet you will get the PowerCLI cmdlets registered:
Add-PSSnapin "Vmware.VimAutomation.Core"
Great! That was easy.
Thanks!!!! :smileyblush: