PS AD – Suche nach Server Typ OS

Get-ADComputer -Filter * -Properties OperatingSystem | Select OperatingSystem -unique | Sort OperatingSystem

Get-ADComputer -Filter "OperatingSystem -like '*Server*'" -properties OperatingSystem | Select Name,Op* | format-list