Get-NetAdapter | Retrieves network adapter information | Get-NetAdapter |
Get-NetIPAddress | Retrieves IP address configuration | Get-NetIPAddress |
Get-NetRoute | Displays the IP routing table | Get-NetRoute |
Test-NetConnection | Tests network connectivity to a remote computer | Test-NetConnection -ComputerName google.com |
Resolve-DnsName | Performs DNS name resolution | Resolve-DnsName google.com |
Get-DnsClientServerAddress | Retrieves DNS server addresses | Get-DnsClientServerAddress |
Get-NetTCPConnection | Displays active TCP connections | Get-NetTCPConnection |
Get-NetUDPEndpoint | Displays active UDP endpoints | Get-NetUDPEndpoint |
Get-NetFirewallRule | Retrieves firewall rules | Get-NetFirewallRule |
New-NetFirewallRule | Creates a new firewall rule | New-NetFirewallRule -DisplayName “Allow Port 80” -Direction Inbound -Protocol TCP -LocalPort 80 -Action Allow |
Set-NetFirewallRule | Modifies an existing firewall rule | Set-NetFirewallRule -DisplayName “Allow Port 80” -Enabled True |
Remove-NetFirewallRule | Removes a firewall rule | Remove-NetFirewallRule -DisplayName “Allow Port 80” |
Get-NetIPConfiguration | Displays IP configuration for all network adapters | Get-NetIPConfiguration |
Set-NetIPAddress | Modifies IP address settings | Set-NetIPAddress -InterfaceIndex 12 -IPAddress 192.168.1.100 -PrefixLength 24 |
New-NetIPAddress | Adds a new IP address to an interface | New-NetIPAddress -InterfaceIndex 12 -IPAddress 192.168.1.100 -PrefixLength 24 -DefaultGateway 192.168.1.1 |
Remove-NetIPAddress | Removes an IP address from an interface | Remove-NetIPAddress -InterfaceIndex 12 -IPAddress 192.168.1.100 |
Get-NetNeighbor | Displays the Address Resolution Protocol (ARP) cache | Get-NetNeighbor |
Clear-DnsClientCache | Clears the DNS client cache | Clear-DnsClientCache |
Get-NetConnectionProfile | Retrieves network connection profiles | Get-NetConnectionProfile |
Set-NetConnectionProfile | Sets properties of a network connection profile | Set-NetConnectionProfile -InterfaceIndex 12 -NetworkCategory Private |
Disable-NetAdapter | Disables a network adapter | Disable-NetAdapter -Name “Ethernet” |
Enable-NetAdapter | Enables a network adapter | Enable-NetAdapter -Name “Ethernet” |
Restart-NetAdapter | Restarts a network adapter | Restart-NetAdapter -Name “Ethernet” |
Get-NetAdapterBinding | Retrieves network adapter bindings | Get-NetAdapterBinding -Name “Ethernet” |
Enable-NetAdapterBinding | Enables a specific binding on a network adapter | Enable-NetAdapterBinding -Name “Ethernet” -ComponentID ms_tcpip |
Disable-NetAdapterBinding | Disables a specific binding on a network adapter | Disable-NetAdapterBinding -Name “Ethernet” -ComponentID ms_tcpip |