Files
Christian Pohle bc9f5cfb40 Create CitrixCommands.ps1
Collection of Commands to manage Citrix Provisioning Services Disc Images
2020-05-18 08:47:08 +02:00

12 lines
562 B
PowerShell

# Collection of Commands to manage Citrix Provisioning Services Disc Images
# I use Powershell for this rather than the GUI as the GUI sometimes Times Out
# Load PowerShell SnapIn (do it once per Session)
Import-Module C:\Program Files\Citrix\Provisioning Services Console\Citrix.PVS.SnapIn.dll
# Create a new vDisk version
New-PvsDiskMaintenanceVersion -DiskLocatorName "DiscName" -StoreName "StoreName" -SiteName "SiteName"
# Promote Disc
Invoke-PvsPromoteDiskVersion -DiskLocatorName "DiscName" -StoreName "StoreName" -SiteName "SiteName"