Skip to content

Instantly share code, notes, and snippets.

@echo off
setlocal
for /f "delims=" %%i in ('hostname') do set host=%%i
for /f "delims=" %%i in ('powershell -command "(Get-CimInstance Win32_BIOS).SerialNumber"') do set serial=%%i
for /f "delims=" %%i in ('powershell -command "(Get-CimInstance Win32_ComputerSystem).Manufacturer"') do set manuf=%%i
for /f "delims=" %%i in ('powershell -command "(Get-CimInstance Win32_ComputerSystem).Model"') do set model=%%i
for /f "delims=" %%i in ('powershell -command "(Get-CimInstance Win32_OperatingSystem).Caption"') do set os=%%i
echo =====================================
@ANZ007
ANZ007 / keybase.md
Last active February 12, 2019 04:50
Keybase Verification

Keybase proof

I hereby claim:

  • I am anz007 on github.
  • I am anz007 (https://keybase.io/anz007) on keybase.
  • I have a public key ASDA9hnfohvxGTi5Li90dmGQOMRLHunofcUDozrB0b7WMQo

To claim this, I am signing this object: