Wednesday, April 18, 2018

Powershell -To get List of Windows servers from Active Directory

Get-ADComputer -Filter { OperatingSystem -Like '*Windows Server*' } -Properties OperatingSystem | Select Name,OperatingSystem 


Regards
Bijesh

No comments:

Post a Comment