<< A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

–A–

–B–

–C–

–D–

DHCP addresses/MAC addresses

first, I usually find DHCP servers in our domain

Get-DhcpServerInDC

then, choose one - let's say "ourDHCPServer"

Get-DhcpServerv4Scope -ComputerName ourDHCPServer.ourDomain.com | foreach {Get-DhcpServerv4Lease -computername ourDHCPServer.ourDomain.com -allleases -ScopeId ($_.ScopeId)}

DHCP servers, list for this domain

Get-DhcpServerInDC

If this displays DHCP servers that are obviously obsolete, see remove old DHCP servers (not PowerShell)

  1. Start Adsiedit.msc
  2. Open the configuration Container
  3. Expand Services
  4. Expand Net Services
  5. On the right hand side you will find a record named CN=DHCPRoot
  6. Right Click the CN=DhcpRoot entry and then click Properties
  7. Highlight DhcpServers Attribute and click Edit

–E–

–F–

firewall ports - see ports, firewall

firewall, configure for domains and trusts

are ports 53, 135, 445 & 3268 enabled?

Get-NetFirewallPortFilter -PolicyStore ActiveStore `
    | ? {($_.LocalPort -eq '53') -or ($_.LocalPort -eq '135') -or ($_.LocalPort -eq '389') -or ($_.LocalPort -eq '445') -or ($_.LocalPort -eq '3268 ')} `
    | Sort-Object LocalPort, Protocol | Format-Table -Property *

or more simply:

Get-NetFirewallPortFilter -PolicyStore ActiveStore `
    | ? {($_.LocalPort -eq '53') -or ($_.LocalPort -eq '135') -or ($_.LocalPort -eq '389') -or ($_.LocalPort -eq '445') -or ($_.LocalPort -eq '3268')} `
    | Sort-Object LocalPort, Protocol | Format-Table Protocol, LocalPort, InstanceID

But not sure this is the right approach. This seems more centered on services rather than ports...

–G–

–H–

–I–

–J–

–K–

–L–

–M–

MAC addresses associated with DHCP addresses - see DHCP addresses/MAC addresses

–N–

–O–

–P–

ports, established (used)

Get-NetTCPConnection -State Established

seems to sort descending by LocalPort

ports, firewall

Get-NetFirewallPortFilter -PolicyStore ActiveStore | ? {$_.LocalPort -ne 'any'} | Sort-Object LocalPort, Protocol | Format-Table -Property *

–Q–

–R–

–S–

–T–

–U–

–W–

–X–

–Y–

–Z–