VMware Cloud Community
mconeley
Contributor
Contributor
Jump to solution

Using Windows Powershell ISE with vSphere PowerCLI

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)
Reply
0 Kudos
1 Solution

Accepted Solutions
Dean_Holland
Enthusiast
Enthusiast
Jump to solution

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

Reply
0 Kudos
2 Replies
Dean_Holland
Enthusiast
Enthusiast
Jump to solution

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

Add-PSSnapin "Vmware.VimAutomation.Core"

Reply
0 Kudos
mconeley
Contributor
Contributor
Jump to solution

Great! That was easy.

Thanks!!!! :smileyblush:

Reply
0 Kudos