# Windows
| Wireless troubleshooting | netsh wlan show wlanreport |
| Shows wifi profiles | netsh wlan show profiles |
| Delete wifi profile | netsh WLAN delete profile name="Profile\_Name" |
| Connect to wifi | netsh wlan connect ssid=YOUR\_WIFI\_SSID name=PROFILE\_NAME |
| List network interfaces | netsh interface show interface |
| Disable an interface | netsh interface set interface "Wi-Fi" disable |
| Purge kerberos tickets - use before gpudate to pull new computer groups | klist -lh 0 -li 0x3e7 purge |
| PS continuous ping with timestamps and output to file | Ping.exe -t wei-01-pc27 | ForEach {“{0} – {1}” -f (Get-Date),$\_} | Tee C:\\Accent\\pingtest.txt |
| Search ARP table by MAC Addr with Powershell | Get-NetNeighbor | ? { $\_.LinkLayerAddress -eq "88-6F-D4-B8-1D-AD" } |
| Get link speed and duplex of NIC | Get-NetAdapter | SELECT name, LinkSpeed, fullduplex | ft -autosize |
| Get firewall active profile | Get-NetConnectionProfile |
| Set firewall active profile | Set-NetConnectionProfile -InterfaceAlias Ethernet1 -NetworkCategory "Public" |
| qwinsta /server:<servername> or query session | Find RdP sessions |
| rwinsta /server:<servername> <session ID> | End RDP session |