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
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

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Script -Name Get-ADComputers-LAPS-Password

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

2018 Andriy Zarevych

Package Details

Author(s)

  • Andriy Zarevych

Tags

ActiveDirectory LAPS

Dependencies

This script has no dependencies.

FileList

Version History

Version Downloads Last updated
2.0 (current version) 1,817 12/11/2019