Merge branch 'main' of github.com:fleschutz/PowerShell

This commit is contained in:
Markus Fleschutz 2024-12-19 18:57:31 +01:00
commit f9540908c2
5 changed files with 984 additions and 983 deletions

File diff suppressed because it is too large Load Diff

View File

@ -139,6 +139,7 @@ AR,Aspect Ratio
ARAC,Army Radar Approach Control (AAF) ARAC,Army Radar Approach Control (AAF)
ARFOR,Area Forecast ARFOR,Area Forecast
ARINC,Aeronautical Radio, Inc. (USA) ARINC,Aeronautical Radio, Inc. (USA)
ARNS,Aeronautical Radio Navigation Service
ARLNO,Airline Office ARLNO,Airline Office
ARP,Airport Reference Point ARP,Airport Reference Point
ARTCC,Air Route Traffic Control Centre ARTCC,Air Route Traffic Control Centre
@ -249,6 +250,7 @@ DFL,Division Flight Level
DFS,Deutsche Flugsicherung (ATC in Germany) DFS,Deutsche Flugsicherung (ATC in Germany)
DGAC,Direction Générale de l'Aviation Civile DGAC,Direction Générale de l'Aviation Civile
DLA,Defense Logistics Agency DLA,Defense Logistics Agency
DME,Distance Measuring Equipment
DP,Departure Procedure DP,Departure Procedure
DSNA,Direction des Services de la Navigation Aérienne DSNA,Direction des Services de la Navigation Aérienne
DTI,Direction Technique Innovation DTI,Direction Technique Innovation

Can't render this file because it has a wrong number of fields in line 141.

View File

@ -1077,7 +1077,6 @@ DHA,DocosaHexaenoic Acid
DHHS,(U.S.) Department of Health and Human Services DHHS,(U.S.) Department of Health and Human Services
DHL,Dalsey,Hillblom,and Lynn (courier service) DHL,Dalsey,Hillblom,and Lynn (courier service)
DHRA,(U.S.) DoD Human Resources Activity DHRA,(U.S.) DoD Human Resources Activity
DHS,U.S. Department of Homeland Security
DHSS,UK Department of Health and Social Security DHSS,UK Department of Health and Social Security
DHTFYSS,U.S. Don't Have Time For You Silly S**** DHTFYSS,U.S. Don't Have Time For You Silly S****
DHY,Dahomey (ISO 3166 trigram; became BEN for Benin in 1977) DHY,Dahomey (ISO 3166 trigram; became BEN for Benin in 1977)

Can't render this file because it has a wrong number of fields in line 8.

View File

@ -14,16 +14,18 @@ BMW, Bavarian Motor Works
BND,Bundesnachrichtendienst (Germany) BND,Bundesnachrichtendienst (Germany)
BVD, Bradley, Voorhees, and Day BVD, Bradley, Voorhees, and Day
CERN,European Organization for Nuclear Research CERN,European Organization for Nuclear Research
CIA,U.S. Central Intelligence Agency CIA,Central Intelligence Agency (USA)
CISA,Cybersecurity Insurance and Security Agency (USA)
CPUC,California Public Utilities Commission CPUC,California Public Utilities Commission
DOC,U.S. Department of Commerce DHS,Department of Homeland Security (USA)
DOD,U.S. Department of Defense DOC,Department of Commerce (USA)
DOE,U.S. Department of Energy DoD,Department of Defense (USA)
DOI,U.S. Department of the Interior DoE,Department of Energy (USA)
DOJ,U.S. Department of Justice DOI,Department of the Interior (USA)
DOL,U.S. Department of Labor DOJ,Department of Justice (USA)
DOS,U.S. Department of State DOL,Department of Labor (USA)
DOT,U.S. Department of Transportation DOS,Department of State (USA)
DOT,Department of Transportation (USA)
EASA,European Aviation Safety Agency EASA,European Aviation Safety Agency
ED,U.S. Department of Education ED,U.S. Department of Education
ESA,European Space Agency ESA,European Space Agency

Can't render this file because it has a wrong number of fields in line 15.

View File

@ -13,8 +13,7 @@
Specifies # of times to send the packet (3 by default) Specifies # of times to send the packet (3 by default)
.EXAMPLE .EXAMPLE
PS> ./wake-up-host.ps1 11:22:33:44:55:66 192.168.100.255 PS> ./wake-up-host.ps1 11:22:33:44:55:66 192.168.100.255
Sent magic packet 3 times to subnet 192.168.100.255, UDP port 9. Sent magic packet to 192.168.100.255, UDP port 9 (3x). The device is up in a minute.
NOTE: wait a minute until the computer fully boots up.
.LINK .LINK
https://github.com/fleschutz/PowerShell https://github.com/fleschutz/PowerShell
.NOTES .NOTES
@ -43,8 +42,7 @@ try {
Send-WOL $macAddr.Trim() $ipAddr.Trim() $udpPort Send-WOL $macAddr.Trim() $ipAddr.Trim() $udpPort
Start-Sleep -milliseconds 100 Start-Sleep -milliseconds 100
} }
"✅ Sent magic packet $numTimes times to subnet $ipAddr, UDP port $($udpPort)." "✅ Sent magic packet to $ipAddr, UDP port $($udpPort) ($($numTimes)x). The device is up in a minute."
" NOTE: wait a minute until the computer fully boots up."
exit 0 # success exit 0 # success
} catch { } catch {
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"