Networking & DNS Diagnostics
Network troubleshooting, packet loss checks, DNS server monitoring, DHCP automation, SNMP probes, port scanning, VPN profile inspection, and early NetDiag prototypes.
Check Port Process Usage.ps1
0.3 KBNetworking-DNS/Check Port Process Usage.ps1
Inspects owning processes bound to local TCP port 514 via Get-NetTCPConnection.
Connection Monitor.ps1
0.3 KBNetworking-DNS/Connection Monitor.ps1
Lightweight connectivity check running Test-NetConnection against LAN and WAN targets.
Check-PacketLoss v2.ps1
1.9 KBNetworking-DNS/Diag Tools/Check-PacketLoss v2.ps1
Updated packet-loss check focusing on physical link failure counters per adapter.
Check-PacketLoss.ps1
2.5 KBNetworking-DNS/Diag Tools/Check-PacketLoss.ps1
Inspects adapter statistics and RDMA failure counters to diagnose packet loss.
code (10).ps1
16.4 KBNetworking-DNS/Diag Tools/code (10).ps1
Iterative GUI prototype of the WinForms network diagnostics suite (early NetDiag evolution).
- Write-OutputBox
- Update-Progress
- Test-PhysicalLink
- Test-LocalGatewayPing
code (13).ps1
21.9 KBNetworking-DNS/Diag Tools/code (13).ps1
Iterative GUI prototype of the WinForms network diagnostics suite (early NetDiag evolution).
- Write-OutputBox
- Update-Progress
- Test-PhysicalLink
- Test-LocalGatewayPing
code (2).ps1
6.3 KBNetworking-DNS/Diag Tools/code (2).ps1
Iterative GUI prototype of the WinForms network diagnostics suite (early NetDiag evolution).
- Write-OutputBox
- Test-PhysicalLink
- Test-LocalGatewayPing
- Test-ISPGatewayPing
code (3).ps1
11.5 KBNetworking-DNS/Diag Tools/code (3).ps1
Iterative GUI prototype of the WinForms network diagnostics suite (early NetDiag evolution).
- Write-OutputBox
- Update-Progress
- Test-PhysicalLink
- Test-LocalGatewayPing
code (5).ps1
14.5 KBNetworking-DNS/Diag Tools/code (5).ps1
Iterative GUI prototype of the WinForms network diagnostics suite (early NetDiag evolution).
- Write-OutputBox
- Update-Progress
- Test-PhysicalLink
- Test-LocalGatewayPing
code (6).ps1
14.3 KBNetworking-DNS/Diag Tools/code (6).ps1
Iterative GUI prototype of the WinForms network diagnostics suite (early NetDiag evolution).
- Write-OutputBox
- Update-Progress
- Test-PhysicalLink
- Test-LocalGatewayPing
code (7).ps1
14.6 KBNetworking-DNS/Diag Tools/code (7).ps1
Iterative GUI prototype of the WinForms network diagnostics suite (early NetDiag evolution).
- Write-OutputBox
- Update-Progress
- Test-PhysicalLink
- Test-LocalGatewayPing
code (8).ps1
15.8 KBNetworking-DNS/Diag Tools/code (8).ps1
Iterative GUI prototype of the WinForms network diagnostics suite (early NetDiag evolution).
- Write-OutputBox
- Update-Progress
- Test-PhysicalLink
- Test-LocalGatewayPing
code (9).ps1
15.2 KBNetworking-DNS/Diag Tools/code (9).ps1
Iterative GUI prototype of the WinForms network diagnostics suite (early NetDiag evolution).
- Write-OutputBox
- Update-Progress
- Test-PhysicalLink
- Test-LocalGatewayPing
Custom-SpeedTest.ps1
0.7 KBNetworking-DNS/Diag Tools/Custom-SpeedTest.ps1
Measures download and upload throughput speeds directly from PowerShell.
NetDiag-V10.7z
13.5 KBNetworking-DNS/Diag Tools/NetDiag-V10.7z
Compressed archive of the NetDiag V10 build.
NetDiag-V10.exe
41 KBNetworking-DNS/Diag Tools/NetDiag-V10.exe
Compiled Windows executable for NetDiag V10.
NetDiag-V10.ps1
16.4 KBNetworking-DNS/Diag Tools/NetDiag-V10.ps1
First packaged V10 release of the NetDiag WinForms GUI network diagnostics tool.
- Write-OutputBox
- Update-Progress
- Test-PhysicalLink
- Test-LocalGatewayPing
DNS Hijacking test.ps1
1.3 KBNetworking-DNS/DNS Hijacking test.ps1
Attempts DNS resolution against an invalid DNS server to detect transparent DNS interception.
DNS Server Monitor v2.ps1
0.9 KBNetworking-DNS/DNS/DNS Server Monitor v2.ps1
Suppresses non-authoritative DNS error noise to keep monitoring exit codes clean.
DNS Server Monitor v3.ps1
2.6 KBNetworking-DNS/DNS/DNS Server Monitor v3.ps1
Cross-checks client public IP across multiple providers and verifies DNS authentication.
- Test-DnsProviders
DNS Server Monitor.ps1
2.3 KBNetworking-DNS/DNS/DNS Server Monitor.ps1
Monitors DNS server resolution and checks DNSFilter public IP authentication.
- Test-DnsProviders
Set local Static DNS on all interfaces.txt
0.3 KBNetworking-DNS/DNS/Set local Static DNS on all interfaces.txt
Snippet setting primary/secondary static DNS servers across all adapters via netsh.
Test multiple connections to list of hosts.ps1
0.2 KBNetworking-DNS/DNS/Test multiple connections to list of hosts.ps1
Runs Test-NetConnection -Port 443 across an array of hostnames and formats a table.
Windows Event Log Enable DNS Client Logging.ps1
0.3 KBNetworking-DNS/DNS/Windows Event Log Enable DNS Client Logging.ps1
Enables the Microsoft-Windows-DNS-Client/Operational event log with a 100 MB cap.
Windows Event Log Search DNS Client Logs Branch.ps1
2.1 KBNetworking-DNS/DNS/Windows Event Log Search DNS Client Logs Branch.ps1
Branch iteration of the DNS Client event log search utility.
Windows Event Log Search DNS Client Logs.ps1
1.6 KBNetworking-DNS/DNS/Windows Event Log Search DNS Client Logs.ps1
Queries Windows DNS Client operational logs by target domain and date window.
Enable DHCP v3.ps1
0.3 KBNetworking-DNS/Enable DHCP v3.ps1
Streamlined DHCP reset script backing up interface state and enabling DHCP across all adapters.
Enable DHCP.ps1
0.3 KBNetworking-DNS/Enable DHCP.ps1
Backs up ipconfig /all and switches all adapters' IP and DNS configuration to DHCP.
Get SonicWall Mobile Connect VPN Profiles.ps1
0.4 KBNetworking-DNS/Get SonicWall Mobile Connect VPN Profiles.ps1
Audits configured SonicWall Mobile Connect VPN profiles on Windows endpoints.
Get Windows VPN Profiles that contain DYNDNS in host name v2.ps1
0.2 KBNetworking-DNS/Get Windows VPN Profiles that contain DYNDNS in host name v2.ps1
Scans Windows VPN profiles for Dynamic DNS hostnames (v2).
Get Windows VPN Profiles that contain DYNDNS in host name v3.ps1
0.3 KBNetworking-DNS/Get Windows VPN Profiles that contain DYNDNS in host name v3.ps1
Scans Windows VPN profiles for Dynamic DNS hostnames to flag outage exposure.
Get-PublicIP.ps1
0.2 KBNetworking-DNS/Get-PublicIP.ps1
Helper function (get-publicip) for retrieving the host's external WAN IP.
- get-publicip
Huntress Service Check.ps1
0.6 KBNetworking-DNS/Huntress Service Check.ps1
Checks UDP port 514 endpoints via Get-NetUDPEndpoint and resolves owning process IDs.
port scan 4433 using Datto RMM device Export.ps1
0.9 KBNetworking-DNS/port scan 4433 using Datto RMM device Export.ps1
Imports a Datto RMM CSV export, groups by external IP, and scans TCP port 4433.
Scan port 8443 for all public IPs in DRMM.ps1
0.6 KBNetworking-DNS/Scan port 8443 for all public IPs in DRMM.ps1
Probes TCP port 8443 across public IPs exported from Datto RMM.
Set local Static DNS.ps1
0.3 KBNetworking-DNS/Set local Static DNS.ps1
Logs before/after ipconfig output and sets static DNS resolvers (103.247.36.9 / .37.9).
SNMP Probe.ps1
0.2 KBNetworking-DNS/SNMP Probe.ps1
Uses the SNMP module (Get-SnmpData) to query printer OIDs over UDP port 161.
SNMP Testing.ps1
0.5 KBNetworking-DNS/SNMP Testing.ps1
Uses Pscx (Get-SNMPObject) to retrieve printer page count counters from MIB OIDs.
Tracert Loop.ps1
1.3 KBNetworking-DNS/Tracert Loop.ps1
Runs repeated traceroutes to a target host and logs timestamped path diagnostics.
write IP configuration to a file.ps1
0.1 KBNetworking-DNS/write IP configuration to a file.ps1
Captures full ipconfig /all output into a timestamped log file.