Script to SYNC Citrix Provisioning Server vDisk Stores

Multiple Citrix Provisioning (PVS) Servers provide redundancy and load balancing–but there is no automatic replication of images.  I find the easiest way is to use RoboCopy and sync PVS Server Stores.   The basic script I use is:

Explanation of Command Switches

  1. /MIR     Mirror a directory tree (equivalent to /E plus /PURGE
  2. /XO      Exclude Older files
  3. /XF       Exclude Files matching given names/paths/wildcards  (in this case .lok files)
  4. /XD      Exclude Directories matching given names/paths  (in this case, exclude the WriteCache directory)


Instructions to Apply Management IP to NetScaler and NetScaler Insight Center

Here are a set of instructions to apply Management IP to Citrix NetScaler and NetScaler Insight Center–in PDF Format.

Instructions to Apply Management IP to NetScaler and NetScaler Insight Center

PowerShell Script to Dump Registered/Unregistered VDA to Text File

This script will dump Registered/Unregistered VDA (Citrix XenApp/VDI Desktop) to a text file in the C: Drive under directory called scripts.

I apologize for the simplicity of the script–I am testing new feature on blog to allow me to post Scripts/Code easily and accessible to the user.


Citrix XenServer 7.1 Released

Citrix XenServer 7.1 will be made available with new features and support window.  Some of the new features include:

  • Maximum 10 Year Support
  • Unique Integrated Image Provisioning
  • Live Patching
  • Avoiding the vTax with Hyper-Converged Infrastructure (HCI)

The details can be read here at the Citrix Blog.


Citrix Infrastructure Visio Stencil Set

Thanks Citrix for the latest/greatest Visio Stencils.  Excerpt from the post on Citrix Blog:

“Latest set of 3D perspective stencils for your Citrix Delivery Center or Networking diagrams compatible with Microsoft Visio 2007/2010/2013. The  set contains icons for some of the more common components of any Citrix or Application deployment. This set replaces the old set and includes new Stencils for NetScaler SDX, XenMobile, various roles, and the Worx products.”

Download Citrix Infrastructure Stencils for Visio 2003/2007/2010

Download Citrix Infrastructure Stencils for Visio 2013

Reset Citrix StoreFront

Came across this today with a client.  Customer had a farm of Citrix StoreFront servers that needed to be reconfigured and setup as a Server Group.  Needless to say, I did not want to uninstall/reinstall every server.  So I used handy PowerShell to solve the issue.  Here are a list of steps (make sure StoreFront Console is closed:

  1. Open PowerShell Console as an Administrator.
  2. Load the Citrix PowerShell modules by typing asnp Citrix*
  3. Load Citrix StoreFront Module.  Note:  Type the leading period.  The command is:  .”C:\Program Files\Citrix\Receiver StoreFront\Scripts\ImportModules.ps1″
  4. After the modules are imported, type Clear-DSConfiguration.
  5. The next time you open StoreFront Console–it will be reset to factory defaults.

Here is a clip of the PowerShell screen showing modules loading and Clear-DSConfiguration executed:


 Citrix Support Article 200239.