Skip to content

Instantly share code, notes, and snippets.

View salfirmanhir's full-sized avatar
💭
GENERATING bitstream

salfirmanhir

💭
GENERATING bitstream
View GitHub Profile
@salfirmanhir
salfirmanhir / test.ps1
Created June 10, 2025 18:21
AmiDewinx64 Simple SMBIOS Randomizer Powershell Script
# Randomize ALL writable SMBIOS fields using ALL AMIDEWINx64 commands with valid handles/indices parsed from your SMBIOS
# Place this script in the same folder as AMIDEWINx64.exe
# Run as Administrator!
Function Get-RandomString($length) {
$chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
-join ((1..$length) | ForEach-Object { $chars[(Get-Random -Minimum 0 -Maximum $chars.Length)] })
}
Function Get-RandomDate() {
$year = Get-Random -Minimum 2010 -Maximum 2025