본문 바로가기

SE

vSphere PowerCLI 12 설치

기록용.

 

https://www.ivobeerens.nl/category/powercli-page/

[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12

PS C:\Users\USER> Install-PackageProvider -Name NuGet -RequiredVersion 2.8.5.201 -Force

Name                           Version          Source           Summary
----                           -------          ------           -------
nuget                          2.8.5.201        https://onege... NuGet provider for the OneGet meta-package manager

PS C:\Users\USER> Install-Module -Name VMware.PowerCLI -AllowClobber

신뢰할 수 없는 리포지토리
신뢰할 수 없는 리포지토리에서 모듈을 설치하는 중입니다. 이 리포지토리를 신뢰하는 경우 Set-PSRepository cmdlet을
실행하여 InstallationPolicy 값을 변경하십시오. 'PSGallery'에서 모듈을 설치하시겠습니까?
[Y] 예(Y)  [A] 모두 예(A)  [N] 아니요(N)  [L] 모두 아니요(L)  [S] 일시 중단(S)  [?] 도움말 (기본값은 "N"): y
PS C:\Users\USER> powercli
powercli : 'powercli' 용어가 cmdlet, 함수, 스크립트 파일 또는 실행할 수 있는 프로그램 이름으로 인식되지 않습니다. 이름
이 정확한지 확인하고 경로가 포함된 경우 경로가 올바른지 검증한 다음 다시 시도하십시오.
위치 줄:1 문자:1
+ powercli
+ ~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (powercli:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

PS C:\Users\USER>

'SE' 카테고리의 다른 글

PowerCLI 를 사용하여 vCenter 접속  (0) 2020.07.08