Citrix Virtual Apps and Desktops Documentation Script V3.41 (FINAL update by Webster)

Version 3.41 23-Jun-2023

It has been an honor and a privilege to provide the XenApp/XenDesktop/CVAD series of scripts to you since 30-Sep-2011.

None of those scripts would have happened without the help of Michael B. Smith, James Rankin, and Jarian Gibson. None of the scripts would have been released without the pressure, I mean encouragement, of Jarian.

  • Added Broker Registry Keys:
    • HKLM:\Software\Policies\Citrix\DesktopServer\AssignmentPolicyMaxDesktops
      • Type: int
      • Default: 5
      • Info: Minimum=1, Maximum=100
      • Summary: The maximum value accepted for the MaxDesktops parameter of the New/Set-BrokerAssignmentPolicyRule cmdlets. This is limited here because enumeration creates MaxDesktops AOFU resources – which if inadvertently set to a very large value impacts enumeration performance and also consumes large amounts of memory.
    • HKLM:\Software\Policies\Citrix\DesktopServer\SetSiteDataPeriodSecs
      • Type: int
      • Default: 600
      • Info: Seconds, Minimum=30
      • Summary: The period in seconds for polling for updates to the site data.
    • HKLM:\Software\Citrix\DesktopServer\LHC\OutageSummaryEventIntervalSecs
      • Type: int
      • Default: 120
      • Info: Seconds Minimum=60
      • Summary: The interval at which LHC would refresh the outage summary event.
    • HKLM:\Software\Citrix\Broker\Service\State\LHC\PeerStatus
      • Type: string
      • Default:
      • Info:
      • Summary: The status information of peers participating in election process.
  • Added Computer policy
    • Profile Management\Advanced settings\Disable defragmentation for VHD disk compaction
    • Profile Management\Advanced settings\Enable user-level policy settings
    • Profile Management\Advanced settings\Set priority order for user groups
    • VDA Data Collection\Security\Clipboard place metadata collection for Security monitoring
  • In Function OutputMachines, for ProvisioningType -eq “MCS” added:
    • Device Management Type – This can be Intune, IntuneWithCitrixTags, or None
    • Identity Type – This can be ActiveDirectory, AzureAD, HybridAzureAD, or Workgroup
    • Master Image VM Date – The date and time when the VM snapshot copy used by the provisioning scheme was made
    • MDM Enrollment – This can be Intune, IntuneWithCitrixTags, or None
    • Prepared Image Definition Name – The name for the image definition used for the provisioning scheme
    • Prepared Image Version Number – The version number for the image version used for the provisioning scheme
    • Windows Activation Type – Windows Activation Type set on the Master Image which has a mapping with the Provisioning Scheme
  • In Function OutputMachines:
    • Made the code consistent between the Daas and CVAD scripts
    • Added missing fields that were in one script but not the other
    • Added the Machine data metadatamap keys output that was in the Word output but not in the Text and HTML output
    • Added Custom Properties For VMware
      • FolderId
    • Renamed “Master VM” to “Master Image VM”
  • Renamed Computer policy
    • VDA Data Collection\VDA data collection for Performance Analytics to VDA Data Collection\VDA data collection for Analytics
  • Updated for CVAD 2305/7.38

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

Thanks

Webster