Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
$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