Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources: Active Threads
Viewing all articles
Browse latest Browse all 8411

Storing PowerShell Credentials

$
0
0

Often I find myself needing to run an elevated cmdlet with a different account than what I’m logged in with. In the past, I would use the Get-Credential cmdlet at the start of my script. But that causes a pause within the script, and unnecessary keystrokes. With the Import-CliXML cmdlet, PowerShell now provides an easier way to store credentials and use them for multiple uses.

Read More


Viewing all articles
Browse latest Browse all 8411

Trending Articles