Arp -a ipconfig nslookup netstat -an → open ports
Net Cmdlets
| Cmdlet | Description |
|---|---|
Get-NetIPInterface | Retrieve all visible network adapter properties. |
Get-NetIPAddress | Retrieves the IP configurations of each adapter. Similar to IPConfig. |
Get-NetNeighbor | Retrieves the neighbor entries from the cache. Similar to arp -a. |
Get-Netroute | Will print the current route table. Similar to IPRoute. |
Set-NetAdapter | Set basic adapter properties at the Layer-2 level such as VLAN id, description, and MAC-Address. |
Set-NetIPInterface | Modifies the settings of an interface to include DHCP status, MTU, and other metrics. |
New-NetIPAddress | Creates and configures an IP address. |
Set-NetIPAddress | Modifies the configuration of a network adapter. |
Disable-NetAdapter | Used to disable network adapter interfaces. |
Enable-NetAdapter | Used to turn network adapters back on and allow network connections. |
Restart-NetAdapter | Used to restart an adapter. It can be useful to help push changes made to adapter settings. |
test-NetConnection | Allows for diagnostic checks to be ran on a connection. It supports ping, tcp, route tracing, and more. |