Deploying Power CLI 10.1.1

With New PowerCLI version there seems to be a lot of confusion how to upgrade it.

I followed a simple method to deploy which works 100% time.

Step 1:- Uninstall your existing PowerCLI

STEP 2: Check the Version of PowerShell against the compatibility matrix

snip2

If Your Powershell version does not match upgrade the same. I am using POwershell Version 5.0 which is compatible

snip1

Step 3:- Run Command

Save-Module -name Vmware.Powercli -Path <local file path>

This command will download the packages to your local folder.

Note:- This step needs Internet connection. If you do not have internet connection you can download the same and save it on your local disk

snip3

 

snip5

 

snip6

Once The Download is complete you can See the Packages in the folder.

snip7

Step 4: Run the following command to install the packages

Install-Module -name Vmware.Powercli

If you are using locally downloaded files include -Path parameter.

snip9

snip11

This step may take a while,

Once done you will see all the module in your powershell console and is now ready to use.

snip12

 

Happy Scripting

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s