본문 바로가기
VMware/vSphere

[vSphere] PowerCLI 설치 가이드

by gisu 2023. 3. 3.

 

◎ 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 

 

VMware Developer Documentation

Explore VMware API References. Whether you're an Admin or a Developer, integrate with VMware APIs to build on top of VMware products, manage our portfolio and automate your infrastructure.

developer.vmware.com

*호환성 메트릭스 : https://developer.vmware.com/docs/17472/

 

Online Documentation - Compatibility Matrix - VMware {code}

Compatibility Matrix The document does not exist or no topics available.

developer.vmware.com

 

*다운로드 경로 : https://developer.vmware.com/web/tool/13.0.0/vmware-powercli

 

VMware PowerCLI - VMware {code}

Overview VMware PowerCLI is a command-line and scripting tool built on PowerShell, and provides more than 7000 cmdlets for managing and automating VMware vSphere, VMware Cloud Director, vRealize Operations Manager, vSAN, VMware NSX-T, VMware Cloud Services

developer.vmware.com

 

 

*설치 가이드 : https://developer.vmware.com/powercli/installation-guide

 

VMware Developer Documentation

Explore VMware API References. Whether you're an Admin or a Developer, integrate with VMware APIs to build on top of VMware products, manage our portfolio and automate your infrastructure.

developer.vmware.com

 

댓글