Citrix Provisioning 2507 PowerShell Programming Guide

The Citrix Provisioning PowerShell SDK automates complex and repetitive tasks. It provides the mechanism to set up and manage Citrix Provisioning environment.

NOTE:

You must have correct administrative privileges to use the programming commands. If you attempt to use the commands without having elevated privileges, the system displays an ‘Invalid access’ message.

Using the PowerShell Programmer Interface

Use the information that follows to manage a ProvisioningService’s implementation from the PowerShell Interface with Objects.

Installation and use of PowerShell Module

The PowerShell snap-in (Citrix.PVS.SnapIn.dll) is installed as part of Provisioning Services Console install.

Once installed, you can load the powershell module into a powershell instance with the command:

Import-Module "path\Citrix.PVS.SnapIn.dll"

Where path is the installed location of the Provisioning Services console (default C:\Program Files\Citrix\Provisioning Services Console)

Citrix Provisioning 2507 PowerShell Programming Guide