XenServer bulk rename of VDIs

Ever had the issue that the VDI naming is incorrect? However here is a script executable on the xenserver which takes the inventoryname of a virual machine and sets all attached VDI's with a given name #separator the for-loop is…


ShareFile Reset Script v2

Here is V2 of the script, it does reset now the following things: User Accounts StorageZones Appearance Settings SSO Settings The Script is available here: Blog-Reset-Sharefile #Workdir #This is where the Script and all Credentials are stored $workDir = "D:\CloudStation\Scripts\ShareFileReset"…


XenServer VM bulk export

a small script to export any VM on a XenServer to a given folder I didn't had time to find a command to separate the user templates from the system templates, so I pasted quick and dirty just the UUIDs…


XenServer VM Export Script on Powershell

Hi all,

I was unable to find an existing script which does simply export all user created VMs and templates to xva files named like the VM.
It uses the commandline executable of XenCenter as I’m not able to install the PowerShell Extension everywhere

Powershell VM-Export

Hint: If you want to increase data throughput, convert compress=true to false at costs of your storage

# XenServer VM-Export
# Author: Mauricio Schäpers
# Description: Exports all vms into a given directory

$xeserver = ""
$xeuser = "root"
$xepw = "s3cr3tP@55w0rd"
$xvadir = "D:\ExportFolder"

#Check where xencenter is installed
$xecmd = "c:\program files (x86)\citrix\xencenter\xe.exe"
if (!(Test-Path $xecmd)) { $xecmd = "c:\program files\citrix\xencenter\xe.exe"}

ShareFile Reset Script

ShareFile Reset Script

Version 2 of this script is available here As I am including ShareFile in my trainings and I want to give to each student the same experience I share a couple of demonstration accounts. As I'm lazy and I don't…