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

    While working on an update to the Citrix Cloud documentation script, with the help of sample reports from fellow CTP Arnaud Pain, I was able to find and fix numerous issues in the script. I backported the fixes relevant to on-premises CVAD to this script.

    Version 2.42 12-Apr-2021

    • Changed how the Session Recording Status was obtained
    • Fixed four typos of “Unabled” to “Unable”
    • For the following three Delivery Group properties, if there is no data or value, use “-” to match all the other empty values
      • All connections not through NetScaler Gateway
      • Connections through NetScaler Gateway
      • Restrict to tag
    • In Machine details added
      • Draining Until Shutdown (Multi-session only)
      • Last Connection Failure reason
        • “None” = “None”
        • “SessionPreparation” = “Session preparation”
        • “RegistrationTimeout” = “Registration timeout”
        • “ConnectionTimeout” = “Connection Timeout”
        • “Licensing” = “Licensing”
        • “Ticketing” = “Ticketing”
        • “Other” = “Other”
      • Maintenance Mode reason
        • “Administrator” = “Machine was manually placed in maintenance mode by an administrator”
        • “MaxFailedRegistrations” = “Machine was automatically placed in maintenance mode due to reaching the maximum failed registration limit”
        • “None” = “Machine is not in maintenance mode”
      • Will Shutdown After Use reason
        • “None” = “Machine will not shutdown after use”
        • “ResetDiskImage” = “Machine will shutdown after use to reset its disk image”
        • “ScheduledNaturalReboot” = “Machine will shutdown after use as part of the scheduled natural reboot process”
        • “OnDemandNaturalReboot” = “Machine will shutdown after use as part of an on-demand natural reboot process”
    • In Machine Details, for MCS catalogs, if the Provisioning Scheme doesn’t exist, set the $MasterVM variable to “Unable to retrieve details”
    • To get the Master VM for an Azure Catalog, add searching for “.manageddisk”
      • Also added “.snapshot” which was found in customer data
    • Updated the text explanations for:
      • Machine Fault State
        • “None” = “No fault; machine is healthy”
        • “FailedToStart” = “Last power-on operation for machine failed”
        • “StuckOnBoot” = “Machine does not seem to have booted following power on”
        • “Unregistered” = “Machine has failed to register within expected period, or its registration has been rejected”
        • “MaxCapacity” = “Machine is reporting itself at maximum capacity”
      • Machine Scheduled Reboot
        • “None” = “No reboot is scheduled”
        • “Pending” = “Machine is awaiting reboot but is available for us”
        • “Draining” = “Machine is awaiting reboot and is unavailable for new sessions; reconnections to existing connections are still allowed, however”
        • “InProgress” = “Machine is actively undergoing a scheduled reboot”
        • “Natural” = “Natural reboot in progress. Machine is awaiting a restart”
    • When testing a session for Session Recording status, add a test for $null -ne $results

    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

    Carl Webster is an independent consultant specializing in Citrix, Active Directory, and technical documentation. Carl (aka “Webster”) serves the broader Citrix community by writing articles (see CarlWebster.com) and by being the most active person in the Citrix Zone on Experts Exchange. Webster has a long history in the IT industry beginning with mainframes in 1977, PCs and application development in 1986, and network engineering in 2001. He has worked with Citrix products since 1990 with the premiere of their first product – the MULTIUSER OS/2.

    View all posts by Carl Webster

    No comments yet.

    Leave a Reply