Get list of all computers in current domain
Get list of all computers in another domain
Get-NetComputer -Domain <DOMAIN NAME>
Pinging machines may give FALSE POSITIVE while probing, when ICMP packets are dropped by firewall
Ping all available computers in current domain
Get-NetComputer -Ping
Ping all available computers in another domain
Get-NetComputer -Ping -Domain <DOMAIN NAME>
Get list of all properties for all computers in current domain
Get-NetComputer -FullData
Get list of all properties of all computers in another domain
Get-NetComputer -FullData -Domain <DOMAIN NAME>
Get list of computers running with a specific OS in current domain
Get-NetComputer -OperatingSystem "*Server 2016*"
Get list of computers running with a specific OS in another domain
Get-NetComputer -Domain <DOMAIN NAME> -OperatingSystem "*Server 2016*"
Active Directory Module
Get list of all computers in current domain
Pinging machines may give FALSE POSITIVE while probing, when ICMP packets are dropped by firewall
Ping all available computers in current domain