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)
ARFOR,Area Forecast
ARINC,Aeronautical Radio, Inc. (USA)
ARNS,Aeronautical Radio Navigation Service
ARLNO,Airline Office
ARP,Airport Reference Point
ARTCC,Air Route Traffic Control Centre
@ -249,6 +250,7 @@ DFL,Division Flight Level
DFS,Deutsche Flugsicherung (ATC in Germany)
DGAC,Direction Générale de l'Aviation Civile
DLA,Defense Logistics Agency
DME,Distance Measuring Equipment
DP,Departure Procedure
DSNA,Direction des Services de la Navigation Aérienne
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
DHL,Dalsey,Hillblom,and Lynn (courier service)
DHRA,(U.S.) DoD Human Resources Activity
DHS,U.S. Department of Homeland Security
DHSS,UK Department of Health and Social Security
DHTFYSS,U.S. Don't Have Time For You Silly S****
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)
BVD, Bradley, Voorhees, and Day
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
DOC,U.S. Department of Commerce
DOD,U.S. Department of Defense
DOE,U.S. Department of Energy
DOI,U.S. Department of the Interior
DOJ,U.S. Department of Justice
DOL,U.S. Department of Labor
DOS,U.S. Department of State
DOT,U.S. Department of Transportation
DHS,Department of Homeland Security (USA)
DOC,Department of Commerce (USA)
DoD,Department of Defense (USA)
DoE,Department of Energy (USA)
DOI,Department of the Interior (USA)
DOJ,Department of Justice (USA)
DOL,Department of Labor (USA)
DOS,Department of State (USA)
DOT,Department of Transportation (USA)
EASA,European Aviation Safety Agency
ED,U.S. Department of Education
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)
.EXAMPLE
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.
NOTE: wait a minute until the computer fully boots up.
Sent magic packet to 192.168.100.255, UDP port 9 (3x). The device is up in a minute.
.LINK
https://github.com/fleschutz/PowerShell
.NOTES
@ -43,8 +42,7 @@ try {
Send-WOL $macAddr.Trim() $ipAddr.Trim() $udpPort
Start-Sleep -milliseconds 100
}
"✅ Sent magic packet $numTimes times to subnet $ipAddr, UDP port $($udpPort)."
" NOTE: wait a minute until the computer fully boots up."
"✅ Sent magic packet to $ipAddr, UDP port $($udpPort) ($($numTimes)x). The device is up in a minute."
exit 0 # success
} catch {
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"