mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-09 21:07:40 +02:00
Replaced the done character
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
<#
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Restarts the network adapters (needs admin rights)
|
||||
.DESCRIPTION
|
||||
@ -19,7 +19,7 @@ try {
|
||||
Get-NetAdapter | Restart-NetAdapter
|
||||
|
||||
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
|
||||
"✔️ restarted all local network adapters in $Elapsed sec"
|
||||
"✅ restarted all local network adapters in $Elapsed sec"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
|
Reference in New Issue
Block a user