After exploring and mastering a product through the GUI, It always tickles me to get to the CLI and get myself fimiliar with the true power and scripting possibilities of that product. The standard tool for Citrix PVS is MCLI.exe and is installed by default when the console is installed. after installing the PVS Console you may have to run the setup of the SOAP Server Communication, use this command to set the values for the SOAP Server
MCLI Run SetupConnection -p name=value[ name2=value2]
Setup the SOAP server connection that will be used for the MCLI and PowerShell command line interfaces.
-p Parameters needed for this Run.
server Server used for the connection.
port Port used for the connection.
user User used for the connection.
domain User domain used for the connection.
password User password used for the connection.
Add a device
MCLI Add Device -r deviceName=Device1 deviceMac=1a-2b-3c-4d-5e-6f description=”A description”
Remove a device:
MCLI Delete Device -p deviceName=Device1
To get a detailed overview of the capabilities of this interface I have attached the programmer’s guide, there is a Powershell guide available too.
Leave a Reply