Quantcast
Channel: VMware Communities: Message List
Viewing full articles (228309 articles)
Browse article index
↧

not able to install powercli on powershell

$
0
0

good morning.  my org just upgraded me to windows 10.  Yay!  however, i am not able to install powercli on powershell.  i have downloaded the package and extracted same and put it in my modules folder.   i have followed this article https://aventistech.com/install-powercli-10-on-windows-10/

 

Set-ExecutionPolicy RemoteSigned
#Install NuGet
Install-PackageProvider -Name NuGet -RequiredVersion 2.8.5.201 -Force  (this was successful)

 

Save-Module -Name VMware.PowerCLI -Path C:\Temp\PowerCLI

PackageManagement\Save-Package : No match was found for the specified search criteria and module name 'VMware.PowerCLI'. Try Get-PSRepository to see all

available registered module repositories.

At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:1598 char:21

+             $null = PackageManagement\Save-Package @PSBoundParameters

+                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : ObjectNotFound: (Microsoft.Power...ets.SavePackage:SavePackage) [Save-Package], Exception

    + FullyQualifiedErrorId : NoMatchFoundForCriteria,Microsoft.PowerShell.PackageManagement.Cmdlets.SavePackage

 

Install-Module Vmware.PowerCLI -Force

PackageManagement\Install-Package : No match was found for the specified search criteria and module name 'Vmware.PowerCLI'. Try Get-PSRepository to see

all available registered module repositories.

At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\1.0.0.1\PSModule.psm1:1809 char:21

+ ...          $null = PackageManagement\Install-Package @PSBoundParameters

+                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : ObjectNotFound: (Microsoft.Power....InstallPackage:InstallPackage) [Install-Package], Exception

    + FullyQualifiedErrorId : NoMatchFoundForCriteria,Microsoft.PowerShell.PackageManagement.Cmdlets.InstallPackage

 

PS C:\Windows\system32> Get-PSRepository

WARNING: Unable to find module repositories.

 

PS C:\Windows\system32>  $PSVersionTable.PSVersion

 

 

Major  Minor  Build  Revision

-----  -----  -----  --------

5      1      16299  98  

 

 

PS C:\Windows\system32> Get-PackageProvider -ListAvailable

 

 

Name                     Version          DynamicOptions                                                                                                  

----                     -------          --------------                                                                                                  

msi                      3.0.0.0          AdditionalArguments                                                                                             

msu                      3.0.0.0                                                                                                                          

nuget                    2.8.5.201                                                                                                                        

NuGet                    2.8.5.208        Destination, ExcludeVersion, Scope, SkipDependencies, Headers, FilterOnTag, Contains, AllowPrereleaseVersions,...

PowerShellGet            1.0.0.1          PackageManagementProvider, Type, Scope, AllowClobber, SkipPublisherCheck, InstallUpdate, NoPathUpdate, Filter,...

Programs                 3.0.0.0          IncludeWindowsInstaller, IncludeSystemComponent                                                                 

 

 

thoughts?

↧

Viewing full articles (228309 articles)
Browse article index

Latest Images

Trending Articles



Latest Images