Skip to content

Instantly share code, notes, and snippets.

@belotn
Last active December 15, 2015 11:38
Show Gist options
  • Save belotn/5253893 to your computer and use it in GitHub Desktop.
Save belotn/5253893 to your computer and use it in GitHub Desktop.
One liner, ajout de serveur dans un pool d'application
get-xaapplication MyApp-* |% { set-xaapplication -InputObject $_ -ServerNames (@(get-xaserver -BrowserName $_.BrowserName | %{$_.ServerName } ) + @('MyServer1', 'MyServer2')) }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment