Tag: network

67 script(s) tagged “network”

πŸ“Š VBA (Excel)

Export Network Adapters to CSV via WMI (VBA)

Queries Win32_NetworkAdapter via WMI and writes every Network Adapters row straight to a CSV file in Documents, using p…

πŸ–₯️ Batch (CMD)

Export Network Shares to CSV (Batch)

Uses wmic to export Network Shares (Win32_Share) to a timestamped CSV file.

🧬 WQL / PowerShell

Win32_NetworkAdapter: Network Adapters (WQL)

A minimal WQL reference query against Win32_NetworkAdapter β€” the raw SELECT statement plus a one-line runner, useful fo…

🟣 C# / .NET 6+

Get Network Shares Report (C#)

Queries Win32_Share via WMI (System.Management) and prints Network Shares to the console.

🧬 WQL / PowerShell

Win32_NetworkAdapter: Sorting Network Adapters (WQL has no ORDER BY)

WQL has no ORDER BY clause β€” this shows the standard workaround of piping Get-CimInstance results through Sort-Object o…

πŸ–₯️ Batch (CMD)

Get Network Adapter Configuration Report (Batch)

Uses wmic to list Network Adapter Configuration (Win32_NetworkAdapterConfiguration) straight from the command line.

🐍 Python 3.10+

Backup Network Adapter Configuration to JSON (Python)

Snapshots Network Adapter Configuration (Win32_NetworkAdapterConfiguration) to a timestamped JSON file for later compar…

🟣 C# / .NET 6+

Get Network Adapters Report (C#)

Queries Win32_NetworkAdapter via WMI (System.Management) and prints Network Adapters to the console.

🐍 Python 3.10+

Export Network Adapter Configuration to CSV (Python)

Exports Network Adapter Configuration (Win32_NetworkAdapterConfiguration) to a timestamped CSV file via wmic.

πŸ“œ VBScript (WSH)

Get Network Adapters Report to File (VBScript)

Queries Win32_NetworkAdapter via WMI and writes Network Adapters to a timestamped text file, handy for scheduled logon/…

πŸ–₯️ Batch (CMD)

Get Network Shares Report (Batch)

Uses wmic to list Network Shares (Win32_Share) straight from the command line.

⚑ PowerShell 5.1+

Watch Network Adapters for Changes

Polls Win32_NetworkAdapter on an interval and prints a line whenever the Network Adapters count changes β€” a lightweight…