Computers

Get List of Computers in Current Domain

# AD Module
Get-ADComputer -Filter * -Properties *
Get-ADComputer -Filter * | Select Name

# PowerView
Get-NetComputer
Get-NetComputer -FullData

Check for Live Hosts (depends on ICMP)

# AD Module
Get-ADComputer -Filter * -Properties DNSHostName | %{Test-Connection -Count 1 -ComputerName $_.DNSHostName}

# PowerView
Get-NetComputer -Ping

Information about Operating Systems

# AD Module
Get-ADComputer -Filter 'OperatingSystem -Like "*Server 2016"' -Properties OperatingSystem | Select Name,OperatingSystem

# PowerView
Get-NetComputer -OperatingSystem "*Server 2016"
Get-NetComputer -FullData | select dnshostname,operatingsystem

Get List of Sessions on Computer

Find Any Computers with Constrained Delegation Set

Find All Servers that Allow Unconstrained Delegation

Return the Local Groups of a Remote Server

Return the Local Group Members of a Remote Server Using Win32 API Methods (faster but less info)

Enumerates Computers in the Current Domain with 'outlier' Properties

Last updated