mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-09 13:04:59 +02:00
Improve the done output
This commit is contained in:
@ -29,7 +29,7 @@ try {
|
||||
$MAC = read-host "Enter MAC address to validate"
|
||||
}
|
||||
if (IsMACAddressValid $MAC) {
|
||||
write-host -foregroundColor green "OK - MAC address $MAC is valid"
|
||||
"✔️ MAC address $MAC is valid"
|
||||
exit 0
|
||||
} else {
|
||||
write-warning "Invalid MAC address: $MAC"
|
||||
|
Reference in New Issue
Block a user