You are on page 1of 1

Get-ADComputer -Filter 'operatingsystem -notlike "*server*" -and enabled

-eq "true"' `
-Properties Name,Operatingsystem,OperatingSystemVersion,IPv4Address |
Sort-Object -Property IPv4Address |
Select-Object -Property
Name,Operatingsystem,OperatingSystemVersion,IPv4Address | Out-File
C:\SophosInstall\Relatorios\Desktops.txt

You might also like