JayRHa / EndpointAnalyticsRemediationScripts

MIT License
318 stars 74 forks source link

Added Test-LAPSUser to check and create for a custom LAPS username #35

Closed SasStu closed 1 year ago

SasStu commented 1 year ago

The script checks if a local user exists for the name defined in the LAPS policy if a password BackupLocation is set and if the laps.dll is available on the system.

A local user account with a random password will be generated if the checks are passed and a local account does not exist.