Last active
October 10, 2020 01:00
-
-
Save joelbarrette/519cc948d4356011d77af1d76a60bdd7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Reg Query "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion" /v ReleaseId | select-string "ReleaseID" | %{$_ -replace('\D+(\d+)','$1')} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment