Using PowerShell scripts with the Authentication and Privilege Elevation services