Disable LAPS

 

Turn all items to disabled in LAPS GPO 

 

Remove LAPS passwords

Get-ADComputer -Filter * -SearchBase “OU=Servers,DC=mydomain,DC=com” | Set-ADComputer -clear ‘ms-mcs-AdmPwd’,‘ms-Mcs-AdmPwdExpirationTime’

 

Export password list

Get-ADComputer $computer -Properties ms-Mcs-AdmPwd | fT ms-Mcs-AdmPwd #Export-Csv -Path 'C:\Pwd.csv'

 

Remove computer from Azure Arc

   To fully remove a computer from Azure Arc-enabled servers, follow the official steps in the Uninstall the Azure Connected Machin...

Mais vistos