You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
it would be useful to have support to localized Administrator name (Administrateur, Administrador, etc.) in Remediate.ps1 when different "base" OS language versions are in use.
So instead of having:
# Define the local administrator user name
$LocalAdministratorName = "<Enter the name of the local administrator account>"
# Construct the required URI for the Azure Function URL
$SetSecretURI = "<Enter Azure Functions URI for SetSecret function>"
$SendClientEventURI = "<Enter Azure Functions URI for SendClientEvent function>"
it could be:
# Define the local administrator user name
$LocalAdministratorName = ""
# Select to use default local administrator
$UseDefaultAdministrator = $true
if ($UseDefaultAdministrator){
$LocalAdministratorName = (Get-LocalUser | Where-Object {$_.SID -like "*-500"}).Name
Enable-LocalUser -Name $LocalAdministratorName
}
# Construct the required URI for the Azure Function URL
$SetSecretURI = "<Enter Azure Functions URI for SetSecret function>"
$SendClientEventURI = "<Enter Azure Functions URI for SendClientEvent function>"
What about ?
The text was updated successfully, but these errors were encountered:
Hello,
it would be useful to have support to localized Administrator name (Administrateur, Administrador, etc.) in Remediate.ps1 when different "base" OS language versions are in use.
So instead of having:
it could be:
What about ?
The text was updated successfully, but these errors were encountered: