Skip to content

Instantly share code, notes, and snippets.

@adamdriscoll
Created January 29, 2020 16:02
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/b8cee897ceb770aa75d03237512a8102 to your computer and use it in GitHub Desktop.
Save adamdriscoll/b8cee897ceb770aa75d03237512a8102 to your computer and use it in GitHub Desktop.
Invoking a script in Universal Automation with a credential
$Script = Get-UAScript -Name 'whoami.ps1'
Invoke-UAScript -Script $Script -Credential $Credential
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment