474 B
474 B
LeanLAPS
Configure the script variables before deploying, for example:
$minimumPasswordLegth = **10**
$publicEncryptionKey = ""
$localAdminName = '**Admin**'
Intune remediation script settings
Use the same PowerShell script - LeanLAPS.ps1 - for both detection and remediation.
- Run this script using the logged-on credentials: No
- Enforce script signature check: No
- Run script in 64-bit PowerShell: Yes
Schedule the script to run as often as required.