Get-ADComputers-LAPS-Password
2.0
Get LAPS Passwords information from Active Directory.
Generates a CSV file with computer names and LAPS Passwords.
ComputerName;OperatingSystem;Password;PasswordExpTime;DistinguishedName
Requirement of the script:
- Active Directory PowerShell Module
- Needed rights to view AD LAPS Attributes: ms-Mcs-AdmPwd, ms-Mcs-AdmPwdExpirationTime
Usage:
.\Get-AD
Generates a CSV file with computer names and LAPS Passwords.
ComputerName;OperatingSystem;Password;PasswordExpTime;DistinguishedName
Requirement of the script:
- Active Directory PowerShell Module
- Needed rights to view AD LAPS Attributes: ms-Mcs-AdmPwd, ms-Mcs-AdmPwdExpirationTime
Usage:
.\Get-AD
Get LAPS Passwords information from Active Directory.
Generates a CSV file with computer names and LAPS Passwords.
ComputerName;OperatingSystem;Password;PasswordExpTime;DistinguishedName
Requirement of the script:
- Active Directory PowerShell Module
- Needed rights to view AD LAPS Attributes: ms-Mcs-AdmPwd, ms-Mcs-AdmPwdExpirationTime
Usage:
.\Get-ADComputers-LAPS-Password.ps1
.\Get-ADComputers-LAPS-Password.ps1 -OU "OU=Computers,OU=IT Department,DC=myDomain,DC=com"
Recommendation is to run this script as a schedule task to have backup your LAPS Passwords
In Section Initialisations you may set default value:
to set default value for OU
[string]$OU =
to set default name for a CSV file
[string]$LogFileName =
to set default path for a CSV file
[string]$LogFilePath =
Show more
Generates a CSV file with computer names and LAPS Passwords.
ComputerName;OperatingSystem;Password;PasswordExpTime;DistinguishedName
Requirement of the script:
- Active Directory PowerShell Module
- Needed rights to view AD LAPS Attributes: ms-Mcs-AdmPwd, ms-Mcs-AdmPwdExpirationTime
Usage:
.\Get-ADComputers-LAPS-Password.ps1
.\Get-ADComputers-LAPS-Password.ps1 -OU "OU=Computers,OU=IT Department,DC=myDomain,DC=com"
Recommendation is to run this script as a schedule task to have backup your LAPS Passwords
In Section Initialisations you may set default value:
to set default value for OU
[string]$OU =
to set default name for a CSV file
[string]$LogFileName =
to set default path for a CSV file
[string]$LogFilePath =
Installation Options
Owners
Copyright
2018 Andriy Zarevych
Package Details
FileList
- Get-ADComputers-LAPS-Password.nuspec
- Get-ADComputers-LAPS-Password.ps1
Version History
Version | Downloads | Last updated |
---|---|---|
2.0 (current version) | 1,813 | 12/11/2019 |