Skip to content

Instantly share code, notes, and snippets.

@alimbada
Created March 12, 2025 00:02
Show Gist options
  • Save alimbada/7f1608d4e51c0a3770f121d9778307d7 to your computer and use it in GitHub Desktop.
Save alimbada/7f1608d4e51c0a3770f121d9778307d7 to your computer and use it in GitHub Desktop.
Powershell Cheat Sheet

Windows/Powershell Cheat Sheet

Get Windows Product Key

(Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform").BackupProductKeyDefault
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment