Skip to content

Instantly share code, notes, and snippets.

@adamdriscoll
Last active January 29, 2020 16:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adamdriscoll/32bdd793e5bb604b819146168b2c5191 to your computer and use it in GitHub Desktop.
Save adamdriscoll/32bdd793e5bb604b819146168b2c5191 to your computer and use it in GitHub Desktop.
Sets a secret variable in Universal Automation
$SecretManager = Get-UASecretManager -Name 'PSSecretStore'
Set-UAVariable -Name 'password' -Value 'P@$$w0rd' -SecretManager $SecretManager
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment