• Citrix XenApp/XenDesktop 7.x Documentation Script Update Version 1.20

    Version 1.20 4-May-2016

    • Added -Dev parameter to create a text file of script errors
    • Added -ScriptInfo (SI) parameter to create a text file of script information
    • Added more script information to the console output when script starts
    • Changed from using arrays to populating data in tables to strings
    • Cleaned up some issues in the help text
    • Color variables needed to be [long] and not [int] except for $wdColorBlack which is 0
    • Fixed numerous issues discovered with the latest update to PowerShell V5
    • Fixed saving the HTML file when using AddDateTime, now only one file is created not two
    • Fixed several incorrect variable names that kept PDFs from saving in Windows 10 and Office 2013
    • Removed the 10 second pauses waiting for Word to save and close

    The XenApp/XenDesktop 7.8 and later script is based on this script now that a ton of issues are fixed.

    You can always find the most current script by going to https://carlwebster.com/where-to-get-copies-of-the-documentation-scripts/



    About Carl Webster

    Webster is a Sr. Solutions Architect for Choice Solutions, LLC and specializes in Citrix, Active Directory and Technical Documentation. Webster has been working with Citrix products for many years starting with Multi-User OS/2 in 1990.

    View all posts by Carl Webster

    12 Responses to “Citrix XenApp/XenDesktop 7.x Documentation Script Update Version 1.20”

    1. Robert Says:

      Hi Carl,

      I’m also interested in the latest dev script for XenDesktop. I would like to document 7.12.


    2. peter Says:

      I am interested in the latest dev script for xenapp script. I would like to document 7.11 and would be interested in the changes.


    3. Joe Says:

      Hi Carl, I was wondering if you could provide some info on what is different between 7.7 and 7.8 to require the use of a different script? Just curious since you actively check against 7.8 and terminate if found.

      Also if you are still taking testers for your 7.8 script I would love to try it for you.


      • Carl Webster Says:

        AppDIsks is a major factor, plus Applications are now not only in the Delivery Groups but their own node plus AppDNA plus the changes in policies. Many policies were removed or renamed. Trying to keep up with what is new for 7.6, 7.6 FP3 and 7.7 is enough of a chore without also trying to keep up with the differences for 7.8 and 7.9. Not even thinking about what could change with the next update. The script is already over 24,000 lines of code without the changes for 7.8 and 7.9.




    4. Darren Says:


      I was wondering, when will the XenApp/XenDesktop 7.8+ script be released?



    5. rob Says:

      I followed the docuementation provided.
      I used the Citrix.GroupPolicy*.psm from the DDC, as the dropbox link provided is no longer accessible.
      I verified that I can create the PSDrive using the above PSM.

      Running the XD7_Inventory*.ps1 documentation scripts I get the following two errors:

      First Error:
      WARNING: Unable to create the LocalFarmGPO PSDrive on the XenDesktop Controller

      Second Error:
      Retrieving StoreFront information
      Get-ItemProperty : Cannot find drive. A drive with the name ‘GPO_SfStorefrontAddress_User’ does not exist.


      • Carl Webster Says:

        I just tested the dropbox link and it worked for me. The file and link haven’t changed in a long time.

        I have never run into the PSDrive error and you are the first to report this that I am aware of.

        These are the commands I use to test the GPO stuff from a new PoSH session:

        add-pssnapin *citrix*
        import-module citrix.grouppolicy.commands
        new-psdrive localfarmgpo -psprovider citrixgrouppolicy -root \ -controller YourDDCName -Scope Global
        get-ctxgrouppolicyconfiguration -drive localfarmgpo

        What happens when you start a new PoSH session and try those commands?



    Leave a Reply