looked at
https://www.powershellgallery.com/packages/VMware.PowerCLI/10.0.0.7895300 and
https://blogs.vmware.com/PowerCLI/2017/04/powercli-install-process-powershell-gallery.html
Server 2012r2, server 2016 desktop mode windows 10 same results and I am connected to the internet. Where is the module so I can impot the module?
Results below none of the cmds can be found
PS C:\> Find-Module -Name VMware.PowerCLI
Find-Module : The term 'Find-Module' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ Find-Module -Name VMware.PowerCLI
+ ~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Find-Module:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\> Save-Module -Name VMware.PowerCLI
Save-Module : The term 'Save-Module' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ Save-Module -Name VMware.PowerCLI
+ ~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Save-Module:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Users\a-lburroughs2> Find-Module -Name VMware.PowerCLI
Find-Module : The term 'Find-Module' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ Find-Module -Name VMware.PowerCLI
+ ~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Find-Module:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\> get-Module -Name VMware.PowerCLI
PS C:\> Install-Module -Name VMware.PowerCLI –Scope AllUsers
Install-Module : The term 'Install-Module' is not recognized as the name of a cmdlet, function, script file, or
operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try
again.
At line:1 char:1
+ Install-Module -Name VMware.PowerCLI –Scope AllUsers
+ ~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Install-Module:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\> Find-Module -Name VMware.PowerCLI
Find-Module : The term 'Find-Module' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ Find-Module -Name VMware.PowerCLI
+ ~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Find-Module:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\> Save-Module -Name VMware.PowerCLI -Path D:\vmware
Save-Module : The term 'Save-Module' is not recognized as the name of a cmdlet, function, script file, or operable
program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ Save-Module -Name VMware.PowerCLI -Path D:\vmware
+ ~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Save-Module:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\>
You need to first have PowerShell 5.1 (WMF) before you can use Install-Module cmdlet.
Download Windows Management Framework 5.1 from Official Microsoft Download Center