Skip to content

Instantly share code, notes, and snippets.

@rismoney
Created October 13, 2014 14:44
Show Gist options
  • Save rismoney/1012af6cce0bd962f2f4 to your computer and use it in GitHub Desktop.
Save rismoney/1012af6cce0bd962f2f4 to your computer and use it in GitHub Desktop.
Citrix Director Service.AutoDiscoveryAddress
saw your post here-
#http://forums.iis.net/t/1200953.aspx?Modifying+advanced+application+settings+with+Powershell
#figured I would post this since I saw you were having an issue setting Citrix Director IIS settings via powershell.
get-webconfigurationproperty -PSPath "IIS:\Sites\Default Web Site\Director" -filter "/appSettings /add[@key='Service.AutoDiscoveryAddresses']" -name value |select value
and
set-webconfigurationproperty -PSPath "IIS:\Sites\Default Web Site\Director" -filter "/appSetting
s/add[@key='Service.AutoDiscoveryAddresses']" -name value -value "foo.bar.com"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment