Skip to content

Instantly share code, notes, and snippets.

@torgro
Created November 4, 2016 14:08
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 torgro/21329caea090bea02a75429474a27c82 to your computer and use it in GitHub Desktop.
Save torgro/21329caea090bea02a75429474a27c82 to your computer and use it in GitHub Desktop.
$cred = Get-Credential
Export-Clixml -Path c:\temp\XenCred.xml -Depth 3 -InputObject $cred
# Or as one line:
Get-Credential | Export-Clixml -Path c:\temp\XenCred.xml -Depth 3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment