Files
2026-03-23 11:23:56 +00:00

440 B

LeanLAPS

Configure the script variables before deploying, for example:

$minimumPasswordLegth = 10
$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.