adaudit
adaudit copied to clipboard
Prepare for other languages
Hi,
There are 2 checks with the Administrator name hardcoded (check if the account has been renamed/replaced) This name depends on your OS language so we can't use the SID to compute it.
To fix the hardcoded checks and make it more reliable, I've added a array to store the default Administrator name for different languages (far from being complete).
$AdministratorTranslation = @("Administrator","Administrateur","Administrador")