Reveal Saved WiFi Passwords in PowerShell
Run as Administrator: (netsh wlan show profiles) | Select-String 'All User Profile' | ForEach-Object { $profile = ($_ -split ':')[1].Trim() $key = (netsh wlan show profile name="$profile" key=
Run as Administrator: (netsh wlan show profiles) | Select-String 'All User Profile' | ForEach-Object { $profile = ($_ -split ':')[1].Trim() $key = (netsh wlan show profile name="$profile" key=
Need to silently uninstall software via script or find a specific application's GUID? This PowerShell command queries the registry to list all installed applications, their display names, and
Need to track monitor assets without physically checking each screen? This PowerShell command can remotely retrieve the serial number of connected monitors, often hidden from standard Device Manager views. The
Techworks Blog Related Reading * More Windows guides * IT Support Services Need hands-on help? Contact RainCity Techworks.
Time drift between a client machine and the Domain Controller can cause "Trust relationship failed" errors, Kerberos authentication issues, and other domain-related problems. This forces an immediate resynchronization.
Forgot to enable RDP on a newly deployed Windows machine? Instead of physically going to the console, use this PowerShell command to enable Remote Desktop and open the necessary firewall
When cloning VMs, multiple machines can appear as the same client in WSUS, preventing proper reporting and updates. Resetting the client ID forces the machine to re-register with a unique
When Office products show "Unlicensed" or activate with the wrong account/key after migration, you might need to remove a specific, problematic license key directly from the command
A user's account keeps locking out, but you can't figure out where. This PowerShell command queries domain controller security logs to identify the source of the
Before reinstalling Windows, export all currently installed third-party drivers. This saves you from hunting down obscure drivers later, especially for older hardware or specific laptop models. The Fix dism /online
When Windows won't boot and you're in the recovery console, you might need the BitLocker recovery key to unlock the drive. This command retrieves it if
Windows Update is stuck, failing with cryptic errors, or constantly scanning. This performs a complete reset of the Windows Update components, often fixing persistent issues. The Fix net stop wuauserv