Browsed by
Category: VMware

VMWare PowerCLI – Backup ESXi Host Configuration

VMWare PowerCLI – Backup ESXi Host Configuration

I had been using a version of this script to backup my VMWare ESXi host configurations for several years and across several versions of ESXi and vCenter server. This script was connecting to my vCenter Server (at 192.168.0.9) and downloading the configurations to a network share (at 192.168.0.62). It would also cycle the files in and out (deleting old backups) in a First-In-First-Out scheme. Param ( [string]$VIServer = “192.168.0.9”, [string]$ConfigPath = “\\192.168.0.62\backups\ESXiHosts\”, [int]$Days = 21 ) If (-not (Get-PSSnapin VMware.VimAutomation.Core…

Read More Read More