Integrating PowerCLI with Windows ISE

Developing PowerShell scripts can be done using Notepad, Notepad++, VSCode, or Windows Integration Scripting Environment (ISE). But one of the advantage of the ISE is that you can 11integrate VMware PowerCLI into the Windows PowerShell ISE. In order to perform this task, we need to add the appropriate line in our Windows PowerShell ISE profile.

Let’s see how to load PowerCLI in Windows PowerShell ISE. This step is very easy, you simply add the following to your Windows PowerShell ISE profile:

& ‘C:\Program Files (x86)\VMware\Infrastructure\PowerCLI\Scripts\Initialize-PowerCLIEnvironment.ps1’

And that’s all!


Thanks for reading! You can follow me on Twitter @PrigentNico

About Nicolas 282 Articles
I work as an IT Production Manager, based in Paris (France) with a primary focus on Microsoft technologies. I have 10 years experience in administering Windows Servers. . I am a Microsoft MVP for Cloud & Datacenter Management. I also received the PowerShell Hero 2016 award by PowerShell.0rg. And finally, I am "MCSE: Cloud Platform and Infrastructure", "MCSA: Windows Servers", "Administering & Deploying SCCM", and CheckPoint CCSA certified.