Citrix PVS 7.1 Powershell

 

On a PVS Server

Install PSSnapIn(64)

C:\Windows\Microsoft.NET\Framework64\v2.0.50727\InstallUtil.exe “C:\Program Files\Citrix\Provisioning Servi
ces Console\McliPSSnapIn.dll”

Load McliPSSnapIn

Add-PSSnapin -Name McliPSSnapIn

Commands 

Device info:

Mcli-Get -Type device | Select-String -Pattern deviceName

Mcli-Get -Type device -p devicename=<Name>

Mcli-get Deviceinfo -p collectionId=<ID> | Select-String ‘(diskversion:|deviceName:|diskFileName)’

Mcli-get Deviceinfo -p collectionId=<ID -f DeviceName, active,
diskLocatorName

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s