PSCredential Tricks


So that i don’t forget….

When trying to add Credential functionality to a PowerShell script so that you can take credentials from the user to pass through to a cmdlet you need to add an additional decoration to the Parameter definition like this:


A big thanks to Dave Wyatt for helping me with this over at the forums


The Blog

The latest news on and the WordPress community.

%d bloggers like this: