-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathHwidChecker.ps1
More file actions
20 lines (16 loc) · 1.06 KB
/
HwidChecker.ps1
File metadata and controls
20 lines (16 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Clear-Host
Write-Host "Asian PvP Community HWID Checker" -ForegroundColor Yellow
Write-Host "Made by " -ForegroundColor DarkGray -NoNewline
Write-Host "HadronCollision"
Write-Host
$motherboardId = "$((Get-WmiObject win32_baseboard).Manufacturer) $((Get-WmiObject win32_baseboard).Product) $((Get-WmiObject win32_baseboard).SerialNumber)"
$ramId = "$((Get-WmiObject Win32_PhysicalMemory).Manufacturer) $((Get-WmiObject Win32_PhysicalMemory).PartNumber) $((Get-WmiObject Win32_PhysicalMemory).SerialNumber)"
$disksId = "$((Get-PhysicalDisk).FriendlyName) $((Get-PhysicalDisk).MediaType) $((Get-PhysicalDisk).Size) $((Get-PhysicalDisk).SerialNumber)"
$processorId = "$((Get-WmiObject Win32_Processor).Name)"
$hwid = [Convert]::ToBase64String([Text.Encoding]::UTF8.GetBytes("$motherboardId | $ramId | $disksId | $processorId")).Replace("=", "")
Write-Host "$hwid" -ForegroundColor DarkGray
$hwid | Set-Clipboard
Write-Host
Write-Host "HWID copied to clipboard! Paste it into Discord using " -ForegroundColor White -NoNewline
Write-Host "Ctrl + V" -ForegroundColor Yellow
Write-Host