-
Citrix Cloud (DaaS) Documentation Script V1.22
October 2, 2022
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
10 Responses to “Citrix Cloud (DaaS) Documentation Script V1.22”
- Added Computer policy
August 1, 2023 at 9:55 am
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.
June 16, 2023 at 2:57 pm
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.
December 14, 2022 at 11:26 pm
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.
December 18, 2022 at 1:08 pm
I have asked my two main PowerShell mentors if they have any advice.
Webster
November 22, 2022 at 6:51 pm
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.
November 30, 2022 at 6:22 am
It looks like Citrix changed it from Hosting. to HostingManagement.
Try that.
November 16, 2022 at 11:15 am
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
November 16, 2022 at 11:17 am
Also generates an error:
Import-Module : A drive with the name ‘XDHyp’ already exists
November 22, 2022 at 5:47 pm
# 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
November 22, 2022 at 5:47 pm
# 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