Skip to content

Instantly share code, notes, and snippets.

View jordanrinke's full-sized avatar

Jordan Rinke jordanrinke

View GitHub Profile
function Get-ProductKey {
<#
.SYNOPSIS
Retrieves the product key and OS information from a local or remote system/s.
.DESCRIPTION
Retrieves the product key and OS information from a local or remote system/s. Queries of 64bit OS from a 32bit OS will result in
inaccurate data being returned for the Product Key. You must query a 64bit OS from a system running a 64bit OS.
.PARAMETER Computername
@jordanrinke
jordanrinke / keybase.md
Created November 30, 2014 06:40
Keybase

Keybase proof

I hereby claim:

  • I am jordanrinke on github.
  • I am jordanrinke (https://keybase.io/jordanrinke) on keybase.
  • I have a public key whose fingerprint is C539 6CD4 DD94 44CA 9A0D DE08 8D90 110C 55FD CB2C

To claim this, I am signing this object: