// archives

Powershell

This tag is associated with 18 posts

Changing XenApp Server Zone Election Preferences with Powershell

It’s recommended to elevate the zone election preference on at least two servers in large XenApp farms.  One server’s zone election preference should be set to “most preferred” and the other should be set to ”preferred”.  Most “Citrix people” will refer to those XenApp servers with elevated zone election preferences as the “zone data collectors” or “data collectors”.  The remaining servers in the [...]

Adding target devices to Citrix Provisioning Server without auto-add

Citrix Provisioning Server auto-add is a waste of time. I use this script from a Provisioning Server that has the MCLI snapin and XenServer Powershell SDK installed. The script connects to XenServer, gets a list of virtual machines and creates target devices for the virtual machines.

Using XenServer SDK for Powershell to list virtual machine MAC addresses

Script to list the MAC addresses of virtual machines

Tracking Citrix Provisioning Server Target Device Retries – Part 1

Target device retries can be seen from the Provisioning Services Console by expanding the farm, sites, your site, and then servers.  Right click the Provisioning Server and click “show connected devices.”   The retry data from the Provisioning Services Console is nice, but is almost useless because the target device retries will increment while the target [...]

Bug in XenApp Powershell Commands (CTP3)

Bug in XenApp Powershell Commands (CTP3) – Changes farm license server and port to 7680

Bug in XenApp Powershell Commands (CTP2)

Bug in XenApp Powershell Commands (CTP2) – Changes farm license server and port to 7168

Checking XenApp Logical Disk Space

Powershell script to check logical disk space across a XenApp farm.  XenApp Powershell commands are required.

Formatting MCli-Get output

It’s no secert that Citrix released a Powershell SDKs for Provisioning Server that’s not Powershell “friendly”.

Here’s a script that will convert the output from MCli-Get to a System.Collections.ArrayList.