-
Notifications
You must be signed in to change notification settings - Fork 0
Get LAPSCredential
Mateusz Czerniawski edited this page Aug 29, 2018
·
1 revision
PPoShTools -> Get-LAPSCredential.ps1
Retrieves LAPS password from AD and creates Credential Object
Get-LAPSCredential [-ComputerName] <String> [<CommonParameters>]
Using Local Administrator Password Solution cmdlet Get-AdmPwdPassword will query AD for ms-Mcs-AdmPwd attribute. Will use retrieved password to create Credential Object
ComputerName to search for LAPS password
- PipelineInput: true (ByValue, ByPropertyName)
- Required: true
Get-LAPSCredential -ComputerName 'SomeComputer'
UserName Password
SomeComputer\Administrator System.Security.SecureString