PowerShell Script to Export XenServer VMs

by Stan Czerno February 13, 2013 09:16 CST

This Script runs from a Windows Machine with XenCenter installed. The script creates a list of all VMs in either a Pool or a stand-alone server, shuts down each VM, exports the VM, then starts the VM using XenCenter's XE command.

This script also includes the ability to put the VM into Maintenance Mode in XenDesktop. You will need to install Desktop Studio on the machine that runs the script becuase it uses the XenDesktop PowerShell snap-ins.

http://www.czerno.com/default.asp?inc=/html/Citrix/Scripts/XenServer/XenServerExportVMsPoSh.asp

Let me know what you think about the script and if you have a better way of doing this.

Tags: , ,

Catergories: Citrix | XenServer | Powershell

Comments are closed