PowerShell Lab
Build, find and save PowerShell
Reviewed templates and commands with requirements, permissions and risk spelled out. Nothing here runs anything — you copy, review and run it yourself.
Search pages, tools, PowerShell commands and ports
Addresses, gateway and DNS servers — a readable ipconfig /all.
1Get-NetIPConfiguration | Where-Object NetAdapter.Status -eq 'Up' |2 Select-Object InterfaceAlias,3 @{ Name = 'IPv4'; Expression = { $_.IPv4Address.IPAddress } },4 @{ Name = 'Gateway'; Expression = { $_.IPv4DefaultGateway.NextHop } },5 @{ Name = 'DNS'; Expression = { $_.DNSServer.ServerAddresses -join ', ' } }