Разные фишки PowerShell + AD
Все запускается в PowerShell:
1 2 3 |
Get-ADComputer -Filter * -Properties OperatingSystem Get-ADComputer -Filter * -Properties OperatingSystem | Out-File c:\temp\os.txt |
1 |
Get-ADComputer -Filter * -Properties OperatingSystem | Select OperatingSystem -unique |