MCLI.exe Command Line “C:\Program Files\Citrix\Provisioning Services Console\MCLI.exe” Run MergeDisk -p diskLocatorName=YourDiskName siteName=YourSiteName StoreName=YourStoreName PowerShell Invoke-PvsRevertDiskVersion -DiskLocatorName ““YourDiskName” -StoreName “YourStoreName” -SiteName “YourSiteName” MCLI.exe Command Line “C:\Program Files\Citrix\Provisioning Services Console\MCLI.exe” Run RevertDiskVersion -p diskLocatorName=YourDiskName siteName=YourSiteName StoreName=YourStoreName PowerShell Invoke-PvsRevertDiskVersion -DiskLocatorName ““YourDiskName” -StoreName “YourStoreName” -SiteName “YourSiteName” -test MCLI.exe Command Line “C:\Program Files\Citrix\Provisioning Services Console\MCLI.exe” Run RevertDiskVersion -p diskLocatorName=YourDiskName siteName=YourSiteName StoreName=YourStoreName test=1 PowerShell Invoke-PvsPromoteDiskVersion -DiskLocatorName ““YourDiskName” -StoreName “YourStoreName” -SiteName “YourSiteName” -Test MCLI.exe Command Line “C:\Program Files\Citrix\Provisioning Services Console\MCLI.exe” Run PromoteDiskVersion -p diskLocatorName=YourDiskName siteName=YourSiteName StoreName=YourStoreName test=1 PowerShell Invoke-PvsPromoteDiskVersion -DiskLocatorName ““YourDiskName” -StoreName “YourStoreName” -SiteName “YourSiteName” MCLI.exe Command Line “C:\Program Files\Citrix\Provisioning Services Console\MCLI.exe” Run PromoteDiskVersion -p diskLocatorName=YourDiskName siteName=YourSiteName StoreName=YourStoreName PowerShell New-PvsDiskMaintenanceVersion -DiskLocatorName ““YourDiskName” -StoreName “YourStoreName” -SiteName “YourSiteName”īack to jump list. MCLI.exe Command Line “C:\Program Files\Citrix\Provisioning Services Console\MCLI.exe” RunWithReturn CreateMaintenanceVersion -p diskLocatorName=YourDiskName siteName=YourSiteName StoreName=YourStoreName PowerShell Set-PvsDisk -Name ““YourDiskName” -StoreName “YourStoreName” -SiteName “YourSiteName” -longDescription “Description” -date “DATE” -author “Author” -title “Title” -company “Company” -internalName “InternalName” -originalFile “OriganalFile”īack to jump list. MCLI.exe Command Line “C:\Program Files\Citrix\Provisioning Services Console\MCLI.exe” SET DISK -p disklocatorName=YourDiskName sitename=YourSiteName storename=YourStoreName -r longDescription=Description date=DATE author=Author title=Title company=Company internalName=InternalName originalFile=OriganalFile Min=0, Max=9, Default=0īack to jump list. WriteCacheType: 0 (Private), (other values are standard image) 1 (Cache on Server), 3 (Cache in Device RAM), 4 (Cache on Device Hard Disk), 6 (Device RAM Disk), 7 (Cache on Server, Persistent), or 9 (Cache in Device RAM with Overflow on Hard Disk). PowerShell Set-PvsDisk -Name ““YourDiskName” -StoreName “YourStoreName” -SiteName “YourSiteName” -WriteCacheType “9” -WriteCacheSize “SizeInMB” MCLI.exe Command Line “C:\Program Files\Citrix\Provisioning Services Console\MCLI.exe” set disk -p diskLocatorName=YourDiskName siteName=YourSiteName storeName=YourStoreName -r writeCacheType=9 writeCacheSize=SizeInMB PowerShell New-PvsDiskLocator -Name “YourDiskName” -StoreName “YourStoreName” -ServerName “YourPVSServerName” -SiteName “YourSiteName” -VHDX MCLI.exe Command Line “C:\Program Files\Citrix\Provisioning Services Console\MCLI.exe” add disklocator -r disklocatorNameYourDiskName sitename=YourSiteName storename=YourStoreName serverName=YourPVSServerName format=1 PowerShell Start-PVSCreateDisk -Name ““YourDiskName” -Size “SizeInMB” -StoreName “YourStoreName” -ServerName “YourPVSServerName” -SiteName “YourSiteName” -VHDXīack to jump list. MCLI.exe Command Line “C:\Program Files\Citrix\Provisioning Services Console\MCLI.exe” RunWithReturn CreateDisk -p Name=DiskName Size=SizeInMB Storename=YourStoreName ServerName=YourPVSServerName Sitename=YourSiteName Format=1 Type=1įormat 1 is VHDX 0 is VHD | Type 1 is Dynamic 0 is Fixed * To use the PowerShell commands you first need to load the PVS PowerShell module: Import-Module “C:\Program Files\Citrix\Provisioning Services Console\” Jump to command: Because as always, automate EVERYTHING !! I hope this will help you to script / automate your deployments and workflow. So in this blog I will show the most popular Citrix Provisioning commands in MCLI command line and PowerShell. But you can of course also do this with PowerShell and there are a lot more commands to use. In the Ultimate Golden Image Automation Guide I wrote about creating a new Citrix Provisioning vDisk with MCLI command line.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |