Directory Admin
PowerShell / Azure / Active Directory / Windows Server / Security and more ...
Friday, August 18, 2017
Powershell: Save credentials in a hashed file created from user and the computers SID
That commands hashes it against the logged on user SID and the machines SID.
create and export creds->
$creds = Get-Credential
$creds | Export-CliXml c:\temp\cred.clixml
import creds->
$creds2 = Import-CliXml c:\temp\cred.clixml
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment