-Credential switch

Aug 15, 2014 at 7:10 PM
Hello,

Is there a way to pass a -credential switch with the remote registry cmdlets? The only way, I've found to do it launch powershell as the account I use to connect to the servers.

Regards,

JS
Aug 15, 2014 at 9:32 PM
Not that I'm aware of. The Registry net classes doesn't have any parameters that accept alternate credentials.