Basically, I want to cache the credentials needed for New-PSSession and make them available to scripts so they don't have to nag a human.
If I use export-clixml or similar to store a PSCredential on disk, how much of a risk of compromise does that add over keeping it in a session variable?