1) Powershell 버전 확인이 필요. 5.1 이상
PS C:\>> cd C:\windows\system32
PS C:\windows\system32>> $PSVersionTable
2) vSphere PowerCLI 설치
PS C:\>> Find-Module -Name VMware.PowerCLI
PS C:\>>
Install-Module VMware.PowerCLI -Scope CurrentUser
( y 입력 )
## 설치 확인
PS C:\>>Get-Command -Module *VMware*
3) 초기 설정
PS C:\>> Set-ExecutionPolicy RemoteSigned
PS C:\>> Set-PowerCLIConfiguration -Scope AllUsers -ParticipateInCeip $false -InvalidCertificateAction Ignore
( y 입력 )
PS C:\ >> connect-viserver -server [vcenter ip] -user administrator@vsphere.local -password VMware1!
연결 확인 ( PS C:\>> Get-VM )
PS C:\ >> Get-VMHostFirmware -VMHost [esxi host ip or fqdn] -BackupConfiguration -DestinationPath C:\Users\sgjang\Desktop
PS C:\ >> Get-VMHostFirmware -VMHost [esxi host ip or fqdn] -BackupConfiguration -DestinationPath C:\Users\sgjang\Desktop
PS C:\ >> Get-VMHostFirmware -VMHost [esxi host ip or fqdn] -BackupConfiguration -DestinationPath C:\Users\sgjang\Desktop
'지식' 카테고리의 다른 글
Dump 추출 / 케이스 오픈 (0) | 2024.02.20 |
---|---|
vCenter, ESXi 업그레이드 이슈 (0) | 2024.02.20 |
vCenter 인증서 갱신 (0) | 2023.12.28 |
유지보수 정기점검 순서 (1) | 2023.12.28 |
VM 성능 저하 -> vmhba 다운 및 업 이벤트 다량 발생 (0) | 2023.12.28 |