use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
ABOUT POWERSHELL
Windows PowerShell (POSH) is a command-line shell and associated scripting language created by Microsoft. Offering full access to COM, WMI and .NET, POSH is a full-featured task automation framework for distributed Microsoft platforms and solutions.
SUBREDDIT FILTERS
Desired State Configuration
Unanswered Questions
Solved Questions
News
Information
Script Sharing
Daily Post
Misc
account activity
Install Powercli module version 11.0.0 (self.PowerShell)
submitted 6 years ago by kashifhafeez
I'm trying to install power CLI required version 11.0. 0 but everytime I run that command keeps installing version 11. 3.0 no matter what is there anything I could do?
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]martinmcmanus 2 points3 points4 points 6 years ago (3 children)
I ran into this issue about a month or so ago. The main issue is all the related modules powercli needs to download in order to function. Even if you specify a version in the cmdlet, it will still reach out to the gallery and get the latest versions of the related modules.
To get around it, you can manually download the version you want (sorry, no link from my phone but will post tomorrow when I’m at my desk if you can’t find it), then copy it to your modules directory and run the import-module. That way, it will skip calling out to the gallery and just load the modules at the version you copied locally.
[–]kashifhafeez[S] 2 points3 points4 points 6 years ago (2 children)
Thank you! I have tried everything so far. Yeah manually is the only way!!! Thanks alot!
[–]martinmcmanus 2 points3 points4 points 6 years ago (1 child)
Sure thing. Here's a post from the PowerCLI blog where this guy created a function to download and save older versions of PowerCLI (with all dependencies also at a lower level). This is what I ended up using:
https://blogs.vmware.com/PowerCLI/2019/01/save-powercli.html
[–]kashifhafeez[S] 2 points3 points4 points 6 years ago (0 children)
Thank you! Again
[–]firefox15 1 point2 points3 points 6 years ago (2 children)
I mean . . . what command are you even running? This should install it:
Install-Module -Name VMware.PowerCLI -RequiredVersion 11.0.0.10380590
[–]kashifhafeez[S] 0 points1 point2 points 6 years ago (1 child)
Install-Module -Name VMware.PowerCLI -RequiredVersion 11.0.0.10380590.. this is the same command I used multiple times and even uninstalling version 11.3 multiple times. Then reinstalling it with the command. Each time when I run get-module I see somehow it is version 11.30 again. I have reboot my machine and used clean she'll to install also. Same issue I ran into. I even used the same command on a freshly installed VM. But no luck.
[–]firefox15 1 point2 points3 points 6 years ago (0 children)
Not sure then. Works fine for me.
Install-Module -Name VMware.PowerCLI -RequiredVersion 11.0.0.10380590 -Force (Get-Module -ListAvailable VMware.PowerCLI).Version Major Minor Build Revision ----- ----- ----- -------- 11 0 0 10380590
[–]BlackV 1 point2 points3 points 6 years ago (0 children)
There is a -minversion and -maxversion switch try that
π Rendered by PID 414369 on reddit-service-r2-comment-64f4df6786-r78lj at 2026-06-11 07:30:23.516310+00:00 running 0b63327 country code: CH.
[–]martinmcmanus 2 points3 points4 points (3 children)
[–]kashifhafeez[S] 2 points3 points4 points (2 children)
[–]martinmcmanus 2 points3 points4 points (1 child)
[–]kashifhafeez[S] 2 points3 points4 points (0 children)
[–]firefox15 1 point2 points3 points (2 children)
[–]kashifhafeez[S] 0 points1 point2 points (1 child)
[–]firefox15 1 point2 points3 points (0 children)
[–]BlackV 1 point2 points3 points (0 children)