Thursday, January 3, 2019

[WSRV] Powershell Cmdlets - Network



Test-NetConnection -ComputerName "Hostname or IP"

Test-NetConnection "Hostname" -Port #

Test-NetConnection "Hostname" -traceroute

Get-NetIPConfiguration

Resolve-DnsName -Name "Hostname"

Get-NetTCPConnection

Get-DnsClient
Set-DnsClientServer Address

Clear-DnsClientCache


Disable-NetAdapter -Name "Adapter Name"
Enable-NetAdapter -Name "Adapter Name"