Set-Service AppIDSvc -StartupType Automatic
Start-Service AppIDSvc -ErrorAction SilentlyContinue
Set-AppLockerPolicy -XmlPolicy "\\cascades.local\SYSVOL\cascades.local\scripts\applocker-caregiver.xml"
Write-Output "AppIDSvc: $((Get-Service AppIDSvc).Status)"
$p = Get-AppLockerPolicy -Local -Xml
Write-Output "Policy applied: $($p.Length) chars"
