XenDesktop 5 Maintenance Script

I’ve just finished creating a XenDesktop 5 Maintenance Script in PowerShell. Currently running tests to run the script on the Controllers through SCCM.

What the script does (in a nutshell):

  1. Connect to XenServer
  2. Start the VM
  3. Update the virus definition files
  4. Update the App-V cache
  5. Shutdown the VM
  6. Make a new snapshot
  7. Update the VDI’s to use the new snapshot.

Let’s wait and see….