Active Directory: Passwörter per Powershell für mehrere Benutzer zurücksetzen

Wer schnell eine größere Anzahl von Passwörtern zurücksetzen möchte, kann dazu die Powershell verwenden. Mit einer kleinen Anpassung lässt sich so auch eine CSV-Datei mit Benutzern einlesen und die Passwörter auf ein Standardkennwort zurücksetzen: $userlist= @() do { $input = (Read-Host "AD User") if ($input -ne '') {$userlist += $input} } until ($input -eq '') … Read more

PowerShell: Read out the memory consumption of a process remotely (WMI)

WMI queries can be used to find out how much memory a specific process requires on a computer. The following script searches for computers with a specific name in the Active Directory and then reads out the working memory of the computer and the process: $Procname = "outlook" $Namefilter = "CLT" $dnssuffix = ".frankysweb.local" #---------------------- $computers = Get-ADComputer -Filter * | ... Read more