Carl Webster Accessibility Statement

Carl Webster is committed to facilitating the accessibility and usability of its website, carlwebster.com, for everyone. Carl Webster aims to comply with all applicable standards, including the World Wide Web Consortium’s Web Content Accessibility Guidelines 2.0 up to Level AA (WCAG 2.0 AA). Carl Webster is proud of the efforts that we have completed and that are in-progress to ensure that our website is accessible to everyone.

If you experience any difficulty in accessing any part of this website, please feel free to email us at info@carlwebster.com and we will work with you to provide the information or service you seek through an alternate communication method that is accessible for you consistent with applicable law (for example, through telephone support).

  • Citrix Cloud (DaaS) Documentation Script V1.22

    October 2, 2022

    Citrix Cloud, PowerShell

    Version 1.22 2-Oct-2022

    • Added Computer policy
      • Profile Management\Advanced settings\Maximum number of VHDX disks for storing Outlook OST files
      • Profile Management\Citrix Virtual Apps Optimization settings\Enable Citrix Virtual Apps Optimization
      • Profile Management\Citrix Virtual Apps Optimization settings\Path to Citrix Virtual Apps optimization definitions:
      • Profile Management\File deduplication\Files to exclude from the shared store
      • Profile Management\File deduplication\Files to include from the shared store
    • Added User policy
      • ICA\Printing\Client Printers\Client printer names
      • ICA\Server Limits\Session connection timer – Multi-session
      • ICA\Server Limits\Session connection timer interval (minutes) – Multi-session
      • ICA\Server Limits\Session idle timer – Multi-session
      • ICA\Server Limits\Session idle timer interval (minutes) – Multi-session

    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







    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

    10 Responses to “Citrix Cloud (DaaS) Documentation Script V1.22”

    1. Jeremy Holt Says:

      Carl, I have a solution for users who get the Import-Module : A drive with the name ‘XDHyp’ already exists error.

      If this happens, close your powershell window and open a new one. add-pssnapin *citrix* then set-xdcredentials……. then do a get-psdrive. if xdhyp shows up in the list run: remove-psdrive xdhyp then run the cc_inventory_v1.ps1

      it will work this time.

    2. Jeremy Holt Says:

      Carl,
      I ran into the error for…
      # “Import-Module : A drive with the name ‘XDHyp’ already exists.”

      I was able to resolve this by opening a new elevated Powershell window, then running…

      # get-psdrive

      if XDHyp is in the list, then run…

      # remove-psdrive XDHyp

      Then Set-XDCredentials, and then run the script again.

      This resolved the issue for me.

    3. Kenneth Laury Says:

      We are using DAAS and I like the section part of your script. I want to run the script from a batch file , but because I’m using about 4 parameters from the Section the commas is causing my entries from being validated. I get something like Groups, is not a valid entry. The other thought was to try to hardcode parameters into the script, but limited knowledge of PowerShell is not helping. If you could give me any kind of help, I would appreciate it.

    4. Matt Moffat Says:

      I am using citrix daas and there are quite a few of the set-brokerserviceconfigurationdata options that I am wanting to configure. However, many of them return an error saying:
      “Configuration data setting name is unknown.”
      FullyQualifiedErrorId : Citrix.XDPowerShell.Broker.UnknownConfigurationDataSetting,Citrix.Broker.Admin.SDK.SetBrookerServiceConfigurationDataCommand

      2 examples of where I am seeing this is with
      Set-BrokerServiceConfigurationData “Hosting.MaxRegistrationDelayMin” -settingvalue 45
      Set-BrokerServiceConfigurationData “Hosting.MaxTimeBeforeStuckOnBootFaultSecs” -settingvalue 900

      Any thoughts would be appreciated. Sincerest apologies if this is not the right setting for this question. Either way though, I am massively grateful for your documentation and information.

    5. Lee Prior Says:

      Hey Carl,

      thanks for this, but it generates an error when running against current Citrix Cloud
      “Unable to import the Citrix.Host.Commands module”
      at script ps1: 36722 char:1

      I have the latest SDK and Policy Snap-In installed

      • Lee Prior Says:

        Also generates an error:

        Import-Module : A drive with the name ‘XDHyp’ already exists

        • Carl Webster Says:

          # KNOWN ISSUE:
          # A few users report they get the following errors even in a new elevated PowerShell session:
          # “Import-Module : A drive with the name ‘XDHyp’ already exists.”
          # “ProcessScriptSetup : Unable to import the Citrix.Host.Commands module. Script cannot continue.”
          # Even if the script runs for these users, the Hosting section contains no usable data.
          # Hosting
          # Unable to retrieve Hosting Units
          #
          # Unable to retrieve Hosting Connections
          #
          # My-Hosting-ConnectioName
          # Connection Name My-Hosting-ConnectioName
          # Type Hypervisor Type could not be determined:
          # Address
          # State Disabled
          # Username
          # Scopes
          # Maintenance Mode Off
          # Zone
          # Storage resource name
          #
          # Advanced
          # Connection Name My-Hosting-ConnectioName
          # Unable to retrieve Hosting Connections
          # I have been unable to determine the root cause, a resolution, or a workaround for this issue

      • Carl Webster Says:

        # KNOWN ISSUE:
        # A few users report they get the following errors even in a new elevated PowerShell session:
        # “Import-Module : A drive with the name ‘XDHyp’ already exists.”
        # “ProcessScriptSetup : Unable to import the Citrix.Host.Commands module. Script cannot continue.”
        # Even if the script runs for these users, the Hosting section contains no usable data.
        # Hosting
        # Unable to retrieve Hosting Units
        #
        # Unable to retrieve Hosting Connections
        #
        # My-Hosting-ConnectioName
        # Connection Name My-Hosting-ConnectioName
        # Type Hypervisor Type could not be determined:
        # Address
        # State Disabled
        # Username
        # Scopes
        # Maintenance Mode Off
        # Zone
        # Storage resource name
        #
        # Advanced
        # Connection Name My-Hosting-ConnectioName
        # Unable to retrieve Hosting Connections
        # I have been unable to determine the root cause, a resolution, or a workaround for this issue