• Citrix XenApp/XenDesktop 7.8+ Documentation Script Update Version 2.36

    Version 2.36 15-Aug-2020 (Release date)

    The V2.36 script was last updated on 19-Sep-2020

    • Added the following missing Administrator Role permissions:
      • Administrators
        • Manage Administrator Custom Roles
        • Manage Administrator Scopes
        • Manage ServiceSettings
      • AppDisks
        • Add AppDisk to Scope
        • Allow AppDisk to be added to a Delivery Group
        • Create a new Version of AppDisk
        • Create AppDisk
        • Delete AppDisk
        • Edit AppDisk properties
        • Install Applications
        • Prepare AppDisk for use
        • Remove AppDisk from Scope
        • View AppDisks
      • AppDNA
        • Manage AppDNA connections
        • View AppDNA connections
      • Application Groups
        • Add Application Group to Scope
        • Add Application to Application Group
        • Add Delivery Group to Application Group
        • Change Tags on Application Group
        • Change users assigned to an application (Application Group)
        • Create Application (Application Group)
        • Create Application Folder (Application Group)
        • Create Application Group
        • Delete Application (Application Group)
        • Delete Application Group
        • Edit Application Folder (Application Group)
        • Edit Application Group Properties
        • Edit Application Properties (Application Group)
        • Edit Application tags (Application Group)
        • Edit User Assignment on Application Group
        • Move Application Folder (Application Group)
        • Remove Application Folder (Application Group)
        • Remove Application from Application Group
        • Remove Application Group from Scope
        • Remove Delivery Group from Application Group
        • View Application Groups
        • View Applications (Application Group)
      • App-V
        • Add App-V Application Libraries and Packages
        • Create App-V Isolation Group
        • Read App-V Application Libraries and Packages
        • Remove App-V Application Libraries and Packages
        • Remove App-V Isolation Groups
      • Controllers
        • Edit Controller
      • Delivery Groups
        • Add Application Group to Delivery Group
        • Add Webhooks to Delivery Group
        • Edit Delivery Group machine tags
        • Edit machine tags
        • Remove Application Group from Delivery Group
      • Director
        • Create\Edit\Delete Alert Policies
        • Create\Edit\Remove Alert Email Server Configuration
        • Create\Edit\Remove Cloud Analytics Configurations
        • Create\Edit\Remove Probe Configurations
        • Dismiss Alerts
        • Edit Disk metrics related Broker machine command properties
        • Edit GPO Data related Broker machine command properties
        • Edit Gpu metrics related Broker machine command properties
        • Edit HDX Protocol related Broker machine command properties
        • Edit Profile Load Data related Broker machine command properties
        • Edit Startup related Broker machine command properties
        • View Alert Policies
        • View Alerts
        • View Applications page
        • View Configurations page
      • Machine Catalogs
        • Capture AppDNA OS snapshot
        • Edit Catalog tags
        • Edit Catalog machine tags
      • Other Permissions
        • Create Tags
        • Delete Tags
        • Edit Tags
        • Manage Orchestration Service REST API
        • Manage Trust Service Keys
        • Read Tags
      • Zones
        • Create Zone
        • Delete Zone
        • Edit Zone
        • Manage Citrix Cloud Connector
    • Add a switch statement for the appdisk/machine/desktop/server Power State
    • Change all Write-Verbose $(Get-Date) to add -Format G to put the dates in the user’s locale
    • Change Policy Filter from Citrix CloudBridge to NetScaler SD-WAN
    • Change checking some String variables from just $Null to [String]::IsNullOrEmpty
      • Some cmdlet’s string properties are sometimes Null and sometimes an empty string
    • Change checking the way a machine is online or offline
    • Change some cmdlets to sort on the left of the pipeline using the cmdlet’s -SortBy option
    • Change some Write-Error to Write-Warning and changed some Write-Warning to Write-Host
      • Added Function OutputNotice
    • Changed testing for existing PSDrives from Get-PSDrive to Test-Path
    • Fix 200+ bugs found while working on the V3.xx script
    • Fix formatting issues found with Text and HTML code
    • Fix issue with Word tables with 8 or 9 point font having a black background
      • This is an issue with the latest versions of PowerShell 5.1.x
    • Fix totals for the Summary Page
    • Fix loading the SQL Server Assembly
    • Fix missing L_25 VDA Version checking for CVAD 2003
    • Fixed an issue with “Connections meeting any of the following (Access Gateway) filters”
      • If you selected HTML and any other output format in the same run, only the HTML output had any Access Gateway data
    • Fixed an issue for RemotePC machine catalogs based on OUs. (Thanks to Rene Bigler)
      • Added all OUs defined
      • Added Allow SubOUs by each defined OU
      • Added machines excluded from the catalog
      • Added machines included in the catalog
    • Fixed issue with PowerShell 5.1.x and empty Hashtables for Ian Brighton’s Word Table functions
      • PoSH 3, 4, and 5.0 had no problem with an empty hashtable and would create a blank Word table with only column headings
      • For many tables, before passing the hashtable to Ian’s function, test if the hashtable is empty
      • If it is, create a dummy row of data for the hashtable
      • For example, a RemotePC catalog based on OU that contains no machines, or Applications with no administrators
      • Instead of having a missing table, the table will now have a row that says “None found”
    • Fixed output issues with Power Management settings
    • Fixed several more array out of bounds issues when accessing element 0 when the array was empty
    • For Appendix A, Text output, change the column heading “DDC Name” to “Computer Name” to match the HTML and MSWord/PDF output
    • For checking the registry on a Delivery Controller for installed Citrix components, test the RemoteRegistry service for its status
      • If the service is not running, set $GotCtxComponents to $False
    • For the three datastore databases, check if the various variable are null or empty and if so, change the value to “Unable to determine”
    • For Zones, add MemType into the Sort-Object for Site View and Zone View
    • If PDF is selected for Output and Microsoft Word is not installed, update the error message to state that PDF uses Word’s SaveAs PDF function
    • Remove the block on not processing Policies if running from an elevated session.
      • Citrix and I did a remote session to test this and we can’t get it to fail.
    • Since the RegistrationState property is an enum, add .ToString() to the machine/desktop/server variable so HTML output is correct
    • When getting the Master VM for an MCS based machine catalog, also check for images ending in .template for Nutanix (New)
    • When getting the provisioning scheme data for a machine, only process machines with a provisioning type of MCS
      • There is no provisioning scheme data for manually or PVS provisioned machines
    • When VDARegistryKeys is used, now test the RemoteRegistry service for its status.
      • If the service is not running, add that information into the AllVDARegistryItems array

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

    Thanks

    Webster







    About Carl Webster

    Webster is a Sr. Infrastructure Consultant for Conversant Group 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

    No comments yet.

    Leave a Reply