Skip to content

Instantly share code, notes, and snippets.

View JonEhh42's full-sized avatar

JonEhh JonEhh42

View GitHub Profile
$mac_addresses = Get-NetAdapter | Select -Expand MacAddress
foreach ($mac in $mac_addresses) {
$mac = $mac -replace "-", ":"
$mac = $mac.ToLower()
echo $mac
}
$JSON = '