By 6 Febbraio 2020

Micorosoft LAPS – Script PS per cambiare la Password a tutti i Computer

Il seguente script in Powershell può essere utilizzato per “forzare” il reset password a tutti i computer di un dominio.
Può essere eseguito in powershell ISE

$AllComputers = Get-ADComputer -filter * -properties ms-Mcs-AdmPwdExpirationTime
$FilterComputers = ($AllComputers | ? {$_.DistinguishedName -like “*ou=$Filter*”}).name
foreach ($FilterComputer in $FilterComputers) {
Reset-AdmPwdPassword –ComputerName $FilterComputer
}

Script PS per cambiare la Password a tutti i Computer, script laps all computer Reset, script laps, laps all pc change password, laps, script powershell Reset-AdmPwdPassword, force laps change password, force laps change password all pc

Posted in: Windows Server

About the Author:

shared on wplocker.com