Wednesday, March 10, 2021

How to use PowerCLI Backup Esxi host on windows 10

 Open Windows PowerShell with Administrator privilege

Step1: run the command: Install-Module -Name VMware.PowerCLI




Step2: Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser


Step 3: Set-PowerCLIConfiguration -InvalidCertificateAction Ignore -Confirm:$false
Step 4: Connect-VIServer x.x.x.x -user root -password your_password
  • x.x.x.x : IP of esxi host
  • your_password: root's password
Step 5: Get-VMHostFirmware -VMHost x.x.x.x -BackupConfiguration -DestinationPath C:\


Final, you can check destination path to verify.






No comments:

Post a Comment

Windows Server 2019 - LAB08 Implementing storage solutions (Part3) Implement Storage Spaces Direct

Part 3:  Implement Storage Spaces Direct What is Storage Spaces Direct? Storage Spaces Direct is the evolution of Storage Spaces . It lever...