Powershell und Windows Terminal

Liste aller AD-User, deren Accountname mit „g“ beginnen

Get-ADUser -Filter 'samAccountName -like "g*"' -Server "SERVERNAME" -Properties * | Sort-Object -Property name |  Format-Table name, samaccountname, description, accountexpirationdate

Windows Leistungsindex
Powershell als Admin öffnen

winsat formal 
Get-WmiObject -Class Win32_WinSAT