◎ Online Install Guide
1. Powershell 버전 확인 (5.1이상)
$PSVersionTable
2. vSphere PowerCLI 설치
Find-Module -Name VMware.PowerCLI
Install-Module -Name VMware.PowerCLI
3. 설치 확인
Get-Command -Module *VMware*
◎ Offline Install Guide
1. Powershell 버전 확인
$PSVersionTable
2. Download받은 압축파일 해당 경로로 이동 후 압축해제
C:\Windows\System32\WindowsPowerShell\v1.0\Modules\
3. Save-Module -Name VMware.PowerCLI -Path C:\Windows\System32\WindowsPowerShell\v1.0\Modules\
4. 설치중
5. Set-ExecutionPolicy RemoteSigned 입력 후 예(Y) 선택
6. Set-PowerCLIConfiguration -Scope AllUsers -ParticipateInCeip $false -InvalidCertificateAction Ignore 입력 후 모두 예(A) 선택
7. web operation session timeout
Set-PowerCLIConfiguration -Scope Session -WebOperationTimeoutSeconds 46000
8. Connect-VIServer -Server vCenterFQDN(IP) -User 계정정보(SSO) -Password 암호
9.VM 확인
10. PowerCLI 버전 확인
Get-PowerCLIVersion
Set-PowerCLIConfiguration -Scope AllUser -ParticipateInCEIP $false
Get-PowerCLIconfiguration
*Power cli download 및 release note 확인 : https://developer.vmware.com/powercli
*호환성 메트릭스 : https://developer.vmware.com/docs/17472/
*다운로드 경로 : https://developer.vmware.com/web/tool/13.0.0/vmware-powercli
*설치 가이드 : https://developer.vmware.com/powercli/installation-guide
댓글