mconeley
Contributor
Contributor

Using Windows Powershell ISE with vSphere PowerCLI

Jump to solution

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

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
Dean_Holland
Enthusiast
Enthusiast

In the ISE if you run the following cmdlet you will get the PowerCLI cmdlets registered:

Add-PSSnapin "Vmware.VimAutomation.Core"

View solution in original post

0 Kudos
2 Replies
Dean_Holland
Enthusiast
Enthusiast

In the ISE if you run the following cmdlet you will get the PowerCLI cmdlets registered:

Add-PSSnapin "Vmware.VimAutomation.Core"

View solution in original post

0 Kudos
mconeley
Contributor
Contributor

Great! That was easy.

Thanks!!!! :smileyblush:

0 Kudos