mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-07-04 22:50:05 +02:00
Compare commits
225 Commits
Author | SHA1 | Date | |
---|---|---|---|
c6a67c9860 | |||
5b0c4a8022 | |||
2bf289b8ea | |||
16bb5e7fdb | |||
72f4252674 | |||
2b997e0487 | |||
fa9d43b715 | |||
18e4f20852 | |||
aa67a452f8 | |||
aa388aab0e | |||
fbc4cee09f | |||
07227f9677 | |||
5c4abfba6f | |||
1f2dc3a340 | |||
4c3afd9119 | |||
75d513a1e5 | |||
496c807a93 | |||
d6205dfcb1 | |||
17668dcc01 | |||
16a686916e | |||
9c60ba2de7 | |||
16489cb0b0 | |||
001c19a2b3 | |||
33a42c2547 | |||
08c8d62f5a | |||
920c0d47eb | |||
0d5646eb57 | |||
e68bca293a | |||
ee4091adab | |||
584d70329b | |||
4c3327bdb9 | |||
128f460e79 | |||
d59d656366 | |||
ba00df2878 | |||
51487dbaec | |||
4b01e23084 | |||
34f31faf02 | |||
5de4bb0fa4 | |||
2a115dce0a | |||
6b05584fac | |||
6ee54813db | |||
11dce73766 | |||
306dc4ca1f | |||
3441a0ae3e | |||
3a152cd13b | |||
e2a3efa833 | |||
199b0f3162 | |||
cebc8fd9e2 | |||
2545d4f8db | |||
882d0d4e7a | |||
ccc7da102b | |||
9fccef1890 | |||
62bfc324ee | |||
9ae53cfbc5 | |||
636bc47452 | |||
198a8b7507 | |||
c2165fb847 | |||
20d37b8488 | |||
d59040b128 | |||
d81531ee34 | |||
24561ea5f3 | |||
fd667a087b | |||
bbbd454592 | |||
60710e7d17 | |||
ee9a5b53d9 | |||
7bfe9fb4da | |||
3c74ae4704 | |||
aa3031af19 | |||
beb470d066 | |||
662af9bd2f | |||
cd695a6dcd | |||
71b724df6a | |||
f569726486 | |||
2abcd039c2 | |||
834eaca343 | |||
379dfe7655 | |||
cfd75065f8 | |||
2e7c40cc3f | |||
4ae2d6ca48 | |||
d4d37d66dd | |||
46dae1445a | |||
209fda3588 | |||
16c6250deb | |||
454a83cc7d | |||
bf08fbd4c1 | |||
c2837f1a71 | |||
7361fbe8d6 | |||
7dfd242f51 | |||
97c24c1d2a | |||
414d787d8e | |||
70359f95db | |||
973e1c9b85 | |||
6ea66c2a5a | |||
19a3d9ef17 | |||
17c8e9cf09 | |||
51a269a665 | |||
2adca6ae53 | |||
b1c54049c6 | |||
f5700cb171 | |||
6b0b54fedf | |||
75abc667de | |||
87bbea0050 | |||
e978ebea3f | |||
7e76dfefe5 | |||
88796330a7 | |||
580d0860c5 | |||
a64d2f223d | |||
6a1a25ceda | |||
82d8ad6d84 | |||
4376aa3405 | |||
027a114d50 | |||
7e11a268b8 | |||
4211d4a29b | |||
0afac71d02 | |||
6b4c562015 | |||
ae2a9913bb | |||
a48c2de3b8 | |||
4b241d3e48 | |||
f02e7cb75f | |||
e360ea1c38 | |||
d54ac3a42d | |||
207a7ec001 | |||
8e8b88aa00 | |||
45087d0d2e | |||
fab8e0b8a0 | |||
fd1e46146e | |||
b6fb72bdf8 | |||
b14c6f196b | |||
c99c52174f | |||
b9f4da099c | |||
66f8de3dc2 | |||
7d1f17fd52 | |||
61b5dc1bde | |||
43cf894a97 | |||
29631bc848 | |||
33b0d4d47e | |||
5abb69a7da | |||
28f4c7375f | |||
6b8b59f27e | |||
0bde76ec72 | |||
ffc2d7d52f | |||
761888b19f | |||
6a627f7646 | |||
83ec684369 | |||
09f4b675b7 | |||
261a05c798 | |||
0c3b8fb58d | |||
130584076d | |||
dacadc83c7 | |||
8e18880788 | |||
ea1796e91a | |||
c058295a13 | |||
a6c6a6e414 | |||
1a8f85d5ec | |||
e01185a678 | |||
f237ff4e2c | |||
7da5651e70 | |||
425d9b54ba | |||
c735e9d9d5 | |||
a5221808dc | |||
c6639a39c0 | |||
d0caf8d709 | |||
71cfe18e13 | |||
24846464d5 | |||
c9c306e560 | |||
73d8a904a7 | |||
1f5ccf63c1 | |||
357d04ee41 | |||
2617f92328 | |||
39fd79b9d7 | |||
6033cd96ba | |||
5944ebe2ec | |||
1a1fa1ab50 | |||
ea1bb04a49 | |||
79460043ee | |||
2278feeeec | |||
1efe1f73eb | |||
e5b66841dc | |||
822aea86bf | |||
d1c5764017 | |||
0eeeff2c99 | |||
5a1f76ace5 | |||
b6ce7a9758 | |||
fde2fff232 | |||
e15be92a54 | |||
0fc12f96a2 | |||
243fd6a1be | |||
b45b9c0c3c | |||
4ae2c279c7 | |||
8573fe09a9 | |||
65e833fc68 | |||
1eec45fb63 | |||
aa49dc412f | |||
e845c67441 | |||
be62945ec8 | |||
1dbc01e8a3 | |||
44ad2aecf8 | |||
7f4d2d7575 | |||
adbf4b9a88 | |||
ac79a443a9 | |||
091c7a1a3c | |||
821372c229 | |||
82f25f34b9 | |||
9fa4e642ff | |||
5400b8c0cf | |||
e39f1c743d | |||
fd55f646c1 | |||
1ec38f35ee | |||
7aff4198d9 | |||
e17d4ed9ab | |||
9f2bd23e7f | |||
1a4c226f4f | |||
13067ce8e1 | |||
82964e0200 | |||
b867ccf44c | |||
e5b56114f9 | |||
fac504c9f3 | |||
3d786d433d | |||
7a9e530a74 | |||
8c9c31fcc3 | |||
938eac8a68 | |||
33fb4d5720 | |||
1eb30ac221 | |||
206a6e7596 | |||
e859cc2b8a |
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,4 @@
|
||||
ABBR,TERM
|
||||
ABBR,MEANING
|
||||
00A,Total Rf Heliport (USA)
|
||||
00AA,Aero B Ranch Airport (USA)
|
||||
00AK,Lowell Field (USA)
|
||||
@ -34575,7 +34575,7 @@ KAZO,Kalamazoo Battle Creek International Airport (USA)
|
||||
KB16,Whitfords Airport (USA)
|
||||
KB19,Biddeford Municipal Airport (USA)
|
||||
KB21,Sugarloaf Regional Airport (USA)
|
||||
KBAB,Beale Air Force Base (USA)
|
||||
KBAB,"Beale Air Force Base (Marysville, California, USA)"
|
||||
KBAD,Barksdale Air Force Base (USA)
|
||||
KBAF,Westfield-Barnes Regional Airport (USA)
|
||||
KBAK,Columbus Municipal Airport (USA)
|
||||
|
Can't render this file because it is too large.
|
@ -1,4 +1,4 @@
|
||||
ABBR,TERM
|
||||
ABBR,MEANING
|
||||
A000,"Cholera due to Vibrio cholerae 01, biovar cholerae"
|
||||
A001,"Cholera due to Vibrio cholerae 01, biovar eltor"
|
||||
A009,"Cholera, unspecified"
|
||||
|
Can't render this file because it is too large.
|
@ -1,4 +1,4 @@
|
||||
ABBR,TERM
|
||||
ABBR,MEANING
|
||||
AF,Afghanistan
|
||||
AX,Åland Islands
|
||||
AL,Albania
|
||||
|
|
@ -1,4 +1,4 @@
|
||||
ABBR,TERM
|
||||
ABBR,MEANING
|
||||
AED,United Arab Emirates dirham
|
||||
AFN,Afghan afghani
|
||||
ALL,Albanian lek
|
||||
|
|
@ -1,4 +1,4 @@
|
||||
ABBR,TERM
|
||||
ABBR,MEANING
|
||||
aa,Afar
|
||||
ab,Abkhazian
|
||||
ae,Avestan
|
||||
|
|
@ -1,4 +1,4 @@
|
||||
ABBR,TERM
|
||||
ABBR,MEANING
|
||||
quetta,"10^30"
|
||||
Q,"10^30"
|
||||
ronna,"10^27"
|
||||
|
|
@ -1,4 +1,4 @@
|
||||
ABBR,TERM
|
||||
ABBR,MEANING
|
||||
21CSLC,21st Century Space Launch Complex
|
||||
4LGSF,Four-Laser Guide Star Facility
|
||||
4MOST,4-metre Multi-Object Spectroscopic Telescope (Proposed new spectroscopic instrument for VISTA)
|
||||
@ -64,7 +64,6 @@ CARLA,Clusters Around Radio-Loud AGN (Spitzer)
|
||||
CASA,Common Astronomy Software Applications (ALMA)
|
||||
CBR,cosmic background radiation
|
||||
CCD,Charge Coupled Device
|
||||
CCTV,Closed Circuit TeleVision
|
||||
CDR,Critical Design Review
|
||||
CDS,"Centre de Données astronomiques de Strasbourg (Strasbourg astronomical Data Center)"
|
||||
CEA,"Commissariat à L’Energie Atomique, France"
|
||||
@ -403,7 +402,6 @@ TIMMI,TIMMI far-infrared camera (ESO 3.6-metre telescope)
|
||||
ToO,Target of Opportunity
|
||||
TRAPPIST,TRAnsiting Planets and PlanetesImals Small Telescope
|
||||
TRR,Test Readiness Review
|
||||
TUM,Technische Universität München
|
||||
UC,Users Committee
|
||||
UK ATC,UK Astronomy Technology Centre
|
||||
Ultracam,High-speed camera (VLT)
|
||||
@ -414,7 +412,6 @@ UT,Unit Telescope of the VLT
|
||||
UT1–4,"VLT Unit Telescopes 1–4: Antu, Kueyen, Melipal and Yepun"
|
||||
UV,UltraViolet
|
||||
UVES,UV-Visual Echelle Spectrograph (VLT)
|
||||
VAT,Value Added Tax
|
||||
VERTEX,"(APEX) VERTEX Antennentechnik GmbH, Duisburg (Germany)"
|
||||
VHS,VISTA Hemisphere Survey
|
||||
VIDEO,VISTA Deep Extragalactic Observations Survey
|
||||
|
|
@ -1,4 +1,4 @@
|
||||
ABBR,TERM
|
||||
ABBR,MEANING
|
||||
3P,"Perceive, Process, Perform"
|
||||
5P,"Plan, Plane, Pilot, Passengers, Programming"
|
||||
7500,"Transponder code for Aircraft hijacking (ICAO)"
|
||||
@ -48,6 +48,8 @@ ADEP,Aerodrome of Departure
|
||||
ADES,Aerodrome of Destination
|
||||
ADF,Automatic Direction Finding
|
||||
ADI,Automatic De-Ice and Inhibitor
|
||||
ADIRS,Air Data and Inertial Reference System
|
||||
ADIRU,Air Data Inertial Reference Unit
|
||||
ADIZ,Air Defense Identification Zone
|
||||
ADL,Aeronautical Data Link
|
||||
ADLY,Arrival Delay
|
||||
@ -68,6 +70,7 @@ AFTN,Aeronautical Fixed Telecommunication Network
|
||||
AFM,Aircraft Flight Manual
|
||||
AGAS,Action Group for ATM Safety (EUROCONTROL)
|
||||
AGL,Above Ground Level
|
||||
AH,Acceleration Height
|
||||
ahdg,alter heading
|
||||
AICS,Aircraft Inventory and Charter System
|
||||
AID,Airport Information Desk
|
||||
@ -123,6 +126,7 @@ APM,Approach Path Monitor
|
||||
APP,Approach
|
||||
APS,Airport Planning Standard
|
||||
APTS,Automated Personnel Tracking System
|
||||
APU,Auxiliary Power Unit
|
||||
AQAFO,Aeronautical Quality Assurance Field Office
|
||||
AR,Aerial Refueling
|
||||
AR,Aspect Ratio
|
||||
@ -140,9 +144,12 @@ ASR,Airport Surveillance Radar
|
||||
ATA,Actual Time of Arrival
|
||||
ATC,Air Traffic Control
|
||||
ATCALS,Air Traffic Control and Landing Systems
|
||||
ATCO,Air Traffic Control Officer
|
||||
ATIS,Automatic Terminal Information Service
|
||||
ATM,Air Traffic Manager
|
||||
ATO,Air Traffic Organization
|
||||
ATPL,Airline Transport Pilot License
|
||||
AURO,Autorotation of helicopters
|
||||
AWACS,Airborne Warning And Control System
|
||||
BC,Back Course
|
||||
BAF,Belgian Air Force
|
||||
@ -200,6 +207,7 @@ COTS,Commercial Of-The-Shelf
|
||||
CPA,Closest Point of Approach
|
||||
CPDLC,Controller Pilot Data Link Communication
|
||||
CPI,Crash Position Indicator
|
||||
CPL,Commercial Pilot License
|
||||
CRC,Control and Reporting Centre
|
||||
CRDA,Converging Runway Display Aid
|
||||
CREDOS,Crosswind Reduced Separations for Departure Operations
|
||||
@ -219,11 +227,14 @@ DAS,DFS Aviation Services (DFS subcompany for services outside Germany)
|
||||
DCIA,Dependent Converging Instrument Approach
|
||||
DECIDE,"Detect, Estimate, Choose, Identify, Do, and Evaluate"
|
||||
DEL,Delivery
|
||||
DER,Departure End of Runway
|
||||
DFS,Deutsche Flugsicherung (ATC in Germany)
|
||||
DGAC,Direction Générale de l'Aviation Civile
|
||||
DLA,Defense Logistics Agency
|
||||
DP,Departure Procedure
|
||||
DSNA,Direction des Services de la Navigation Aérienne
|
||||
DTI,Direction Technique Innovation
|
||||
DVA,Diverse Vector Area
|
||||
DW,Downwind
|
||||
EAS,Equivalent Airspeed
|
||||
EAVA,Estonian Aviation Academy
|
||||
@ -232,6 +243,8 @@ ECP,Entry Control Point
|
||||
EFM,Gesellschaft für Enteisen und Flugzeugschleppen
|
||||
ELEV,Field Elevation
|
||||
ELT,Emergency Locator Transmitter
|
||||
EOL,Engine-off landing
|
||||
ERPM,Engine Rotations per Minute
|
||||
ETA,"Estimated Time of Arrival, East Transition Area"
|
||||
ETL,Effective Translational Lift (for helicopters)
|
||||
ETOPS,Extended-range Twin-engine Operational Performance Standards
|
||||
@ -265,13 +278,16 @@ FIR,Flight Information Region
|
||||
FL,Flight Level
|
||||
FLIP,Flight Information Publication
|
||||
FMG,Flughafen München GmbH
|
||||
FMS,Flight Management System
|
||||
FOD,Foreign Object Debris
|
||||
FOV,Field of View
|
||||
FWC,Flight Warning Computer
|
||||
GA,General Aviation
|
||||
GND,Ground
|
||||
GP,Glide Path
|
||||
GPS,Global Positioning System
|
||||
GS,Ground Speed or Glideslope
|
||||
HEMS,Helicopter Emergency Medical Services
|
||||
HKIA,Hong Kong International Airport
|
||||
HOTS,Higher-Order Thinking Skills
|
||||
IAA,Israeli Airport Authority
|
||||
@ -292,6 +308,7 @@ KCAS,Calibrated AirSpeed in Knots
|
||||
KIAS,Indicated Airspeed in Knots
|
||||
KTAS,True AirSpeed in Knots
|
||||
LAA,Lappland Aviation Academy
|
||||
LDAH,Landing distance available (Helicopter)
|
||||
LITAS,Low Intensity Two Colour Approach System
|
||||
LL,Lower Limit
|
||||
LMUK,Lockheed Martin UK
|
||||
@ -304,6 +321,7 @@ MEA,Minimum En-route Altitude
|
||||
METAR,Meteorological Aerodrome Report
|
||||
MCP,Maximum Continuous Power
|
||||
MLW,Maximum Landing Weight
|
||||
MMR,Multi-Mode Receiver
|
||||
MSA,Minimum Safe Altitude
|
||||
MSL,Median Sea Level
|
||||
MSTA,Minimum Safe Turning Altitude
|
||||
@ -311,14 +329,15 @@ MTOW,Maximum Take-Off Weight
|
||||
NATCA,National Air Traffic Controllers Association
|
||||
NAVAIDS,Navigational Aids
|
||||
NCOIC,Non-Commissioned Officer in Charge
|
||||
NGA,National Geospatial Intelligence Agency
|
||||
NIMA,National Imagery Mapping Agency
|
||||
NLFS,Night Low Flying System
|
||||
NORDO,No Radio
|
||||
NOTAM,Notice to Airmen or Notice to Air Missions
|
||||
NUAIR,Northeast UAS Airspace Integration Research (a New York based nonprofit organization)
|
||||
OCS,Obstacle Clearance Surfaces
|
||||
OCTA,Outside Control Areas
|
||||
OEI,One Engine Inoperative
|
||||
ODP,Obstacle Departure Procedure
|
||||
OGE,Out of Ground Effect
|
||||
OFZ,Obstacle Free Zone
|
||||
OJT,On the Job Training
|
||||
@ -371,6 +390,7 @@ ROC,Rate Of Climb
|
||||
ROC,Required Obstacle Clearance
|
||||
RPM,Revolutions Per Minute
|
||||
RPS,Radar Position Symbol
|
||||
RRPM,Rotor Rotations per Minute
|
||||
RSA,Runway Safety Area
|
||||
RSC,Runway Surface Condition
|
||||
RSI,Remote Status Indicato
|
||||
@ -382,8 +402,7 @@ RWR,Radar Warning Receiver
|
||||
RWY,Runway
|
||||
SADL,Situational Awareness Data Link
|
||||
SAF,Sustainable Aviation Fuel
|
||||
SAR,Search and Rescue
|
||||
SAR,Synthetic Aperture Radar
|
||||
SAR,"Search and Rescue, Synthetic Aperture Radar"
|
||||
SARPS,Standards and Recommended Practices (ICAO)
|
||||
SAT,Site Acceptance Test (see also FAT and RAT)
|
||||
SATCO,Senior Air Traffic Control Officer
|
||||
@ -392,6 +411,7 @@ SATNAV,Satellite Navigation
|
||||
SATSE,State Air Traffic Services Enterprise
|
||||
SCN,Secondary Crash Net
|
||||
SDD,Situation Data Display
|
||||
SEOL,Simulated engine-off landing
|
||||
SELCAL,Selective Calling System
|
||||
SES,Single European Sky
|
||||
SESAME,Single European Sky ATM Master Plan
|
||||
@ -446,7 +466,7 @@ TAP,Target Acquisition Protocol
|
||||
TARMAC,Taxi and Ramp Management and Control
|
||||
TAS,Terminal Airspace System
|
||||
TAS,True Air Speed
|
||||
TAWS,Terrain Awareness and Warning System
|
||||
TAWS,Terrain Avoidance and Warning System
|
||||
TCAS,Traffic alert and Collision Avoidance System
|
||||
TCDS,Type Certificate Data Sheet
|
||||
TCH,Threshold Crossing Height
|
||||
@ -461,17 +481,19 @@ TFM,Traffic Flow Management
|
||||
TFR,Temporary Flight Restriction
|
||||
TH,True Heading
|
||||
TID,Touch Input Device
|
||||
TIGPRO,TOWSIM Image Generator Protocol
|
||||
TIS,Traffic Information System
|
||||
TLOF,Touchdown and Lift-off Area
|
||||
TM,Traffic Management
|
||||
TMA,Terminal Control Area
|
||||
TOC,Top Of Climb
|
||||
TOD,Top Of Descent
|
||||
TODAH,Take-off distance available (Helicopter)
|
||||
TOP,Take-Off Power
|
||||
TOR,Terms Of Reference
|
||||
TOR,Tornado aircraft
|
||||
TOWSIM,Tower Simulator
|
||||
TRACON,Terminal Radar Approach Control
|
||||
TRH,Thrust Reduction Height
|
||||
TSO,Technical Standard Order
|
||||
TSTC,Texas State Technical College
|
||||
TT,True Track
|
||||
@ -504,6 +526,7 @@ VASI,Visual Approach Slope Indicator
|
||||
VASIS,Visual Approach Slope Indicator System
|
||||
VCS,Voice Communication System
|
||||
VCCS,Voice Communication Control System
|
||||
VCOA,Visual Climb Over Airport
|
||||
VDF,Very High Frequency Direction Finding
|
||||
VDGS,Visual Database Generation System
|
||||
VDL-4,VHF digital link Mode 4 (see also STDMA)
|
||||
@ -543,3 +566,4 @@ WS,Work Station
|
||||
WTC,Wake Turbulence Category
|
||||
WTWS,Wake Turbulence Warning System
|
||||
WX,Weather
|
||||
WXR,Weather Radar Transceiver
|
||||
|
Can't render this file because it has a wrong number of fields in line 135.
|
@ -1,4 +1,4 @@
|
||||
ABBR,TERM
|
||||
ABBR,MEANING
|
||||
GPT,"glutamate pyruvate transaminase, or Goniopora toxin"
|
||||
Leo,an American Quarter Horse
|
||||
Leo,"Leonberger, a breed of dog"
|
||||
|
|
@ -1,4 +1,4 @@
|
||||
ABBR,TERM
|
||||
ABBR,MEANING
|
||||
A,Atom
|
||||
a,atto prefix (10-18)
|
||||
AA,Acetic Acid
|
||||
@ -12,8 +12,7 @@ AB,Acid Base
|
||||
AB,Acid Bath
|
||||
ABCC,Advanced Biomedical Computing Center
|
||||
ABCC,American Board of Clinical Chemistry
|
||||
ABS,Absorb
|
||||
ABS,Acrylonitrile Butadiene Styrene
|
||||
ABS,"Absorb, Acrylonitrile Butadiene Styrene"
|
||||
ABV,Alcohol By Volume
|
||||
ABW,Alcohol By Weight
|
||||
Ac,Actinium
|
||||
@ -361,11 +360,10 @@ GT,Greater Than
|
||||
GTL,Gas To Liquid
|
||||
GTN,Glyceryl TriNitrate
|
||||
Gy,"Gray (radiation unit)"
|
||||
h,convection heat transfer coefficient
|
||||
H,Enthalpy
|
||||
h,hecto prefix (102)
|
||||
H,Hydrogen
|
||||
h,Planck’s constant
|
||||
H,"Enthalpy, Hydrogen"
|
||||
h,"hecto prefix (102), Planck’s constant, convection heat transfer coefficient"
|
||||
H2,Chemical formula for hydrogen gas (dihydrogen)
|
||||
H2O,Chemical symbol for water - each molecule of water contains two atoms of hydrogen (H) joined to a single atom of oxygen (O)
|
||||
Ha,"Hahnium (initial name for dubnium)"
|
||||
HA,Hemagglutinin
|
||||
HAA,HaloAcetic Acid
|
||||
|
|
@ -1,6 +1,6 @@
|
||||
ABBR,TERM
|
||||
Air Force Blue (Raf),RGB #5d8aa8
|
||||
Air Force Blue (Usaf),RGB #00308f
|
||||
ABBR,MEANING
|
||||
Air Force Blue (RAF),RGB #5d8aa8
|
||||
Air Force Blue (USAF),RGB #00308f
|
||||
Air Superiority Blue,RGB #72a0c1
|
||||
Alabama Crimson,RGB #a32638
|
||||
Alice Blue,RGB #f0f8ff
|
||||
|
|
@ -1,3 +1,3 @@
|
||||
ABBR,TERM
|
||||
ABBR,MEANING
|
||||
GPT,"GEC Plessey Telecommunications (a defunct British telecommunications manufacturer) or GPT Group (an Australian property investment company)"
|
||||
IAS,"International Automated Systems (an American company), IAS Limited (an Australian-based gambling company)"
|
|
@ -1,4 +1,4 @@
|
||||
ABBR,TERM
|
||||
ABBR,MEANING
|
||||
.7z,Common filename extension for archive files in 7z format
|
||||
.bat,Common filename extension for Batch script files
|
||||
.bz2,Common filename extension for archive files in bzip2 format
|
||||
@ -55,7 +55,7 @@ ABBR,TERM
|
||||
3NF,Third Normal Form
|
||||
3PL,third-party logistics
|
||||
3PV,Peak Player Production Values
|
||||
3Vs,volume, variety and velocity
|
||||
3Vs,"volume, variety and velocity"
|
||||
4-D,printing four-dimensional printing
|
||||
40GbE,40 Gigabit Ethernet
|
||||
42,"the answer to the ultimate question of life, the universe, and everything (from 'The Hitchhiker's Guide to the Galaxy' by Douglas Adams)"
|
||||
@ -237,7 +237,7 @@ ASCII,American Standard Code for Information Interchange
|
||||
ASD,agile software development
|
||||
ASE,Adaptive Server Enterprise
|
||||
ASF,Apache Software Foundation
|
||||
ASHRAE,American Society of Heating, Refrigerating, and Air-Conditioning Engineers
|
||||
ASHRAE,"American Society of Heating, Refrigerating, and Air-Conditioning Engineers"
|
||||
ASIC,application-specific integrated circuit
|
||||
ASIO,Audio Stream Input/Output
|
||||
ASLR,address space layout randomization
|
||||
@ -323,9 +323,7 @@ BGP,Border Gateway Protocol
|
||||
BHIE,Bidirectional Health Information Exchange
|
||||
BI,business intelligence
|
||||
BIA,business impact analysis
|
||||
BIC,bank identifier code
|
||||
BIC,Best In Class
|
||||
BIC,business information center
|
||||
BIC,"bank identifier code, Best In Class, business information center"
|
||||
BICC,Bearer Independent Call Control
|
||||
BICC,business intelligence competency center
|
||||
BIOS,Basic Input/Output System
|
||||
@ -357,7 +355,7 @@ BPM,business process management
|
||||
BPMI,Business Process Management Initiative
|
||||
BPML,Business Process Modeling Language
|
||||
BPMN,Business Process Modeling Notation
|
||||
BPMS Business process management suite
|
||||
BPMS,Business process management suite
|
||||
BPO,business process outsourcing
|
||||
BPR,Business Process Reengineering
|
||||
bps,bit/sec bits per second
|
||||
@ -466,7 +464,7 @@ CD,Continuous Delivery
|
||||
CD,Compact Disc
|
||||
CD-i,Compact Disc - interactive
|
||||
CD-MO,CD-Magneto Optical
|
||||
CD-R,compact disc, recordable
|
||||
CD-R,"compact disc, recordable"
|
||||
CD-ROM XA,"Compact Disc - read-only-memory, extended architecture"
|
||||
CD-RW,"compact disc, rewriteable"
|
||||
CDA,Clinical Document Architecture
|
||||
@ -613,7 +611,7 @@ CONUS,continental United States
|
||||
COO,Cell of Origin
|
||||
COO,Chief Operating Officer
|
||||
COO,Cost of Ownership
|
||||
COPE,corporate-owned, personally-enabled
|
||||
COPE,"corporate-owned, personally-enabled"
|
||||
COPPA,Children's Online Privacy Protection Act
|
||||
COPS,Common Open Policy Service Protocol
|
||||
CORBA,Common Object Request Broker Architecture
|
||||
@ -645,7 +643,7 @@ CQE,Certified Quality Engineer
|
||||
CR,cognitive radio
|
||||
CRA,customer relationship analysis
|
||||
CRAC,computer room air conditioning unit
|
||||
CRAH computer room air handler
|
||||
CRAH,computer room air handler
|
||||
CRAM,challenge-response authentication mechanism
|
||||
CRC,Cyclic Redundancy Check
|
||||
CRL,Certificate Revocation List
|
||||
@ -668,14 +666,14 @@ CSMA,Carrier Sense Multiple Access
|
||||
CSO,Chief Security Officer
|
||||
CSO,Chief Strategy Officer
|
||||
CSP,Commerce Service Provider
|
||||
CSR Certificate Signing Request
|
||||
CSR,Certificate Signing Request
|
||||
CSR,Carrier Sensitive Routing
|
||||
CSR,corporate social responsibility
|
||||
CSS,Cascading Style Sheets
|
||||
CSS,Content Scrambling System
|
||||
CSS,customer self-service
|
||||
CSS,customer service and support
|
||||
CSS1,Cascading Style Sheet, level 1
|
||||
CSS1,"Cascading Style Sheet, level 1"
|
||||
CSU/DSU,Channel Service Unit/Data Service Unit
|
||||
CSV,Cluster Shared Volumes
|
||||
CSV,Comma Separated Values (a file format)
|
||||
@ -727,7 +725,6 @@ DAML,DARPA Agent Markup Language
|
||||
DAO,Data Access Objects
|
||||
DAQ,Data Acquisition
|
||||
DARC,Defense Acquisition Regulatory Council
|
||||
DARPA,Defense Advanced Research Projects Agency
|
||||
DAS,direct-attached storage
|
||||
DAS,distributed antenna system
|
||||
DASD,direct access storage device
|
||||
@ -914,7 +911,7 @@ DTP,Distributed Transaction Processing
|
||||
DTR,data transfer rate
|
||||
DTTV,digital terrestrial television
|
||||
DTV,digital television
|
||||
DTX discontinuous transmission
|
||||
DTX,discontinuous transmission
|
||||
DUNDi,Distributed Universal Number Discovery
|
||||
Duqu,W32.Duqu
|
||||
DUT,Device Under Test
|
||||
@ -946,7 +943,7 @@ EAP,Extensible Authentication Protocol
|
||||
EB,exabyte
|
||||
EBCDIC,Extended Binary Coded Decimal Interchange Code
|
||||
EBIF,Enhanced TV Binary Interchange Format
|
||||
EBITDA,earnings before interest, taxes, depreciation, and amortization
|
||||
EBITDA,"earnings before interest, taxes, depreciation, and amortization"
|
||||
EBPP,electronic bill presentment and payment
|
||||
EBR,Electronic Batch Record
|
||||
ebXML,electronic business xml
|
||||
@ -971,10 +968,10 @@ ECRC,Electronic Commerce Resource Center
|
||||
EDA,Electronic Document Access
|
||||
EDA,event-driven architecture
|
||||
EDE,electronic disposal efficiency
|
||||
EDGAR,Electronic Data Gathering, Analysis and Retrieval
|
||||
EDGAR,"Electronic Data Gathering, Analysis and Retrieval"
|
||||
EDGE,Enhanced Data GSM Environment
|
||||
EDI,Electronic Data Interchange
|
||||
EDIFACT,Electronic Data Interchange for Administration, Commerce and Transport
|
||||
EDIFACT,"Electronic Data Interchange for Administration, Commerce and Transport"
|
||||
EDL,enhanced driver's license
|
||||
EDM,Electrical Discharge Machine or Machining
|
||||
EDM,Electronic Document Management
|
||||
@ -1013,7 +1010,7 @@ ELED,entangled light-emitting diode
|
||||
ELF,extremely low frequency
|
||||
ELM,event log manager
|
||||
ELMS,Event log management software
|
||||
ELT,Extract, Load, Transform
|
||||
ELT,"Extract, Load, Transform"
|
||||
ELV,End of Life Vehicle
|
||||
EMAS,Eco-Management and Audit Scheme
|
||||
EMC,Exchange Management Console
|
||||
@ -1033,8 +1030,8 @@ EMS,Microsoft Exchange Management Shell
|
||||
ENISA,European Network and Information Security Agency
|
||||
EOF,End of File
|
||||
EoIP,Electricity over IP
|
||||
EOL,end of life
|
||||
EOM,end of message
|
||||
EOL,"End of Life, End of Line"
|
||||
EOM,End of Message
|
||||
EOP,Microsoft Exchange Online Protection
|
||||
EOQ,Economic Order Quantity
|
||||
EPA,Microsoft Exchange Server Profile Analyzer
|
||||
@ -1251,7 +1248,6 @@ GCC,GNU Compiler Collection
|
||||
GDDR,Graphics Double Data Rate
|
||||
GDI,Graphics Device Interface
|
||||
GDMO,Guidelines for Definition of Managed Objects
|
||||
GDP,Gross Domestic Product
|
||||
GDPR,General Data Protection Regulation
|
||||
GEM,Generic Equipment Model
|
||||
GEM,Graphics Environment Manager
|
||||
@ -1522,8 +1518,6 @@ ISRS,information storage and retrieval system
|
||||
ISSU,in-service software upgrade
|
||||
ISV,Independent Software Vendor
|
||||
IT,Information Technology
|
||||
n Technology Agremeement
|
||||
positive test/positive test/IT-ISAC,Information Technology Information Sharing and Analysis Center
|
||||
ITAA,Information Technology Association of America
|
||||
ITaaS,IT as a Service
|
||||
ITAC,International Telework Association and Council
|
||||
@ -1716,7 +1710,7 @@ MFT,managed file transfer
|
||||
MFT,master file table
|
||||
MGCP,Media Gateway Control Protocol
|
||||
MHP,Multimedia Home Platform
|
||||
MIB management information base
|
||||
MIB,management information base
|
||||
MIC,microwave integrated circuit
|
||||
MICR,magnetic ink character recognition
|
||||
MID,mobile Internet device
|
||||
@ -1784,15 +1778,12 @@ MSS,maximum segment size
|
||||
MSS,mobile satellite services
|
||||
MSSP,managed security service provider
|
||||
MT,medical transcription
|
||||
MTBF,mean time between failures
|
||||
MTO,Make To Order
|
||||
Mtops,million theoretical operations per second
|
||||
MTPOD,maximum tolerable period of disruption
|
||||
MTS,Make To Stock
|
||||
MTS,medical transcription software
|
||||
MTS,Microsoft Transaction Server
|
||||
MTTR,mean time to repair
|
||||
MTTR,Mean Time To Restore
|
||||
MTU,maximum transmission unit
|
||||
MUA,mail user agent
|
||||
MUD,Multi-User Dungeon
|
||||
@ -2115,8 +2106,7 @@ PPM,"Pages per minute (a measurement of printing speed), Perl package manager (f
|
||||
PPP,Point-to-Point Protocol
|
||||
PPPoE,Point-to-Point Protocol over Ethernet
|
||||
PPTP,Point-to-Point Tunneling Protocol
|
||||
PR,Problem Report
|
||||
PR,Process Reengineering
|
||||
PR,"Problem Report, Process Reengineering"
|
||||
PRI,Primary Rate Interface
|
||||
PRM,partner relationship management
|
||||
PRNG,pseudo-random number generator
|
||||
@ -2325,8 +2315,7 @@ SAML,Security Assertion Markup Language
|
||||
SAN,storage area network
|
||||
SAPI,Speech Application Program Interface
|
||||
SAPPHIRE,SAP User Conference
|
||||
SAR,segmentation and reassembly
|
||||
SAR,Suspicious Activity Report
|
||||
SAR,"Segmentation and Reassembly, Suspicious Activity Report"
|
||||
SAS,serial-attached SCSI
|
||||
SASID,Self-Scanned Amorphous Silicon Integrated Display
|
||||
SAX,Simple API for XML
|
||||
@ -2553,7 +2542,6 @@ SWAT,Samba Web Administration Tool
|
||||
SWF,Shockwave Flash file
|
||||
Swift,Programming language released in 2014 by Apple Inc.
|
||||
SWIFT,Simulated Work Input and Flow Time
|
||||
SWIFT,Society for the Worldwide Interbank Financial Telecommunication
|
||||
SWOT,"Strengths, Weakness, Opportunity and Threats Analysis"
|
||||
sysadmin,system administrator
|
||||
sysop,system operator
|
||||
@ -2682,6 +2670,7 @@ USB,Universal Serial Bus
|
||||
USGCB,United States Government Configuration Baseline
|
||||
USITC,United States International Trade Commission
|
||||
USP,unique selling point
|
||||
USR,"Universal System Resources (the /usr directory in a *NIX filesystem)"
|
||||
USSD,Unstructured Supplementary Service Data
|
||||
USSS,United States Secret Service
|
||||
UTF,Unicode Transformation Format
|
||||
@ -2860,7 +2849,7 @@ WIM,Windows Imaging Format
|
||||
WiMAX,Worldwide Interoperability for Microwave Access
|
||||
WIMP,"windows, icons, mouse, and pull-down menus"
|
||||
WIMP,Woefully Inept Manufacturing Process
|
||||
WinDirStat Windows Directory Statistics
|
||||
WinDirStat,Windows Directory Statistics
|
||||
Wine,Wine is not an emulator
|
||||
WinFS,Windows File System
|
||||
WinFX,.NET 3.0
|
||||
@ -2938,7 +2927,7 @@ XYZ,Internet top-level domain (.xyz) released in 2014
|
||||
Y2K,year 2000
|
||||
yacc,yet another compiler compiler
|
||||
YMS,yard management system
|
||||
YUM,Yellowdog Updater, Modified
|
||||
YUM,"Yellowdog Updater, Modified"
|
||||
ZBR,zoned-bit recording
|
||||
ZBT,zero-based thinking
|
||||
ZIF,Zero Insertion Force
|
||||
|
Can't render this file because it has a wrong number of fields in line 58.
|
@ -1,4 +1,4 @@
|
||||
ABBR,TERM
|
||||
ABBR,MEANING
|
||||
btl,Bottle
|
||||
c,Cup
|
||||
C,Cups
|
||||
|
|
@ -1,2 +0,0 @@
|
||||
ABBR,TERM
|
||||
IAS,"International Accounting Standards, Internal Audit Service (European Commission), Investment Analysts Society of Southern Africa"
|
|
83
Data/Abbr/financial.csv
Normal file
83
Data/Abbr/financial.csv
Normal file
@ -0,0 +1,83 @@
|
||||
ABBR,MEANING
|
||||
A-CVA,advanced credit valuation adjustment
|
||||
ABoR,Administrative Board of Review
|
||||
ABS,asset-backed security
|
||||
ABSPP,asset-backed securities purchase programme
|
||||
ACH,Automated Clearing House
|
||||
AIF,alternative investment fund
|
||||
AIR,Assumed Interest Rate
|
||||
AMA,advanced measurement approach
|
||||
AMC,asset management company
|
||||
AML,anti-money laundering
|
||||
APP,asset purchase programme
|
||||
APR,Annual Percentage Rate
|
||||
APT,Asset Protection Trust
|
||||
APY,Annual Percentage Yield
|
||||
ARM,Adjustable Rate Mortgage
|
||||
ATM,Automated Teller Machine
|
||||
ATR,Ability to Repay
|
||||
CBN,Central Bank of Nigeria
|
||||
CD,Certificate of Deposit
|
||||
DDA,Demand Deposit Account
|
||||
DTI,Debt-to-Income
|
||||
EAD,exposure at default
|
||||
EBITDA,earnings before interest, taxes, depreciation and amortisation
|
||||
EBP,excess bond premium
|
||||
EBPP,Electronic Bill Presentment and Payment
|
||||
ECA,European Court of Auditors
|
||||
ECAF,Eurosystem credit assessment framework
|
||||
ECB,European Central Bank
|
||||
ECCB,"Eastern Caribbean Central Bank (Anguilla, Antigua and Barbuda, Dominica, Grenada, Montserrat, St. Kitts and Nevis, St. Lucia, St. Vincent and the Grenadines)"
|
||||
ECCU,Eastern Caribbean Currency Union
|
||||
ECL,expected credit loss
|
||||
ECOFIN,Economic and Financial Affairs Council
|
||||
ECOWAS,"Economic Community of West African States (Benin, Burkina Faso, Cape Verde, Côte d’Ivoire, The Gambia, Ghana, Guinea, Guinea-Bissau, Liberia, Mali, Niger, Nigeria, Senegal, Sierra Leone, Togo)"
|
||||
ECU,European Currency Unit
|
||||
EDF,expected default frequency
|
||||
EDI,Electronic Data Interchange
|
||||
EDIS,European Deposit Insurance Scheme
|
||||
EDP,excessive deficit procedure
|
||||
EDW,European Data Warehouse
|
||||
EEA,European Economic Area
|
||||
EFSF,European Financial Stability Facility
|
||||
EFSM,European Financial Stability Mechanism
|
||||
EFT,Electronic Funds Transfer
|
||||
EFTA,"European Free Trade Association (Iceland, Liechtenstein, Norway, Switzerland)"
|
||||
EIB,European Investment Bank
|
||||
EMU,"European Economic and Monetary Union (Austria, Belgium, Cyprus, Estonia, Finland, France, Germany, Greece, Ireland, Italy, Latvia, Luxembourg, Malta, Netherlands, Portugal, Slovak Republic, Slovenia, Spain)"
|
||||
ETF,Exchange Traded Funds
|
||||
FATF,Financial Action Task Force on Money Laundering (of the OECD)
|
||||
FDI,Foreign direct investment
|
||||
FDIC,Federal Deposit Insurance Corporation
|
||||
FEC,Foreign exchange certificate
|
||||
FED,Federal Reserve Bank
|
||||
FIU,Financial intelligence unit
|
||||
FOREX,Foreign Exchange
|
||||
FRB,Federal Reserve Board
|
||||
FTA,Free trade agreement
|
||||
G7,"Group of Seven advanced economies (Canada, France, Germany, Italy, Japan, United Kingdom, United States)"
|
||||
GAFTA,Greater Arab Free Trade Agreement
|
||||
GCC,"Gulf Cooperation Council (Cooperation Council for the Arab States of the Gulf; Bahrain, Kuwait, Oman, Qatar, Saudi Arabia, United Arab Emirates)"
|
||||
GDP,Gross domestic product
|
||||
HELOC,Home Equity Line of Credit
|
||||
HIPC,Heavily Indebted Poor Countries
|
||||
HPML,High Priced Mortgage LoanHigh Priced Mortgage Loan
|
||||
IAS,"International Accounting Standards, Internal Audit Service (European Commission), Investment Analysts Society of Southern Africa"
|
||||
IBRD,International Bank for Reconstruction and Development (World Bank)
|
||||
IFRS,International Financial Reporting Standards
|
||||
IMF,International Monetary Fund
|
||||
IRA,Individual Retirement Account
|
||||
LC,Letter of credit
|
||||
LCR,Liquidity coverage ratio
|
||||
LIBID,London interbank bid rate
|
||||
LIBOR,London interbank offered rate
|
||||
LOI,Letter Of Intent
|
||||
LTD,Loan-to-deposit
|
||||
MBS,Mortgage-Backed Securities
|
||||
NPL,Non performing loans
|
||||
NSF,Non-Sufficient Funds
|
||||
SWIFT,Society for Worldwide Interbank Financial Telecommunication
|
||||
VAT,Value-added tax
|
||||
WAEMU,"West African Economic and Monetary Union (formerly WAMU; members of the BCEAO)"
|
||||
WAMA,West African Monetary Agency (formerly WACH)
|
||||
WAMZ,West African Monetary Zone
|
Can't render this file because it has a wrong number of fields in line 24.
|
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,4 @@
|
||||
ABBR,TERM
|
||||
ABBR,MEANING
|
||||
0DG,Zero Degrees Parallel
|
||||
AAGIS,Ann Arbor Geographic Information System
|
||||
AGS,Applied Geographic Solutions
|
||||
|
|
@ -1,3 +1,3 @@
|
||||
ABBR,TERM
|
||||
ABBR,MEANING
|
||||
XX,The Roman numeral for twenty (20)
|
||||
XXX,The Roman numeral for thirty (30)
|
|
@ -1,4 +1,4 @@
|
||||
ABBR,TERM
|
||||
ABBR,MEANING
|
||||
AC,"Axiom of Choice, or set of absolutely continuous functions."
|
||||
a.c.,absolutely continuous.
|
||||
acrd,inverse chord function.
|
||||
|
|
@ -1,8 +1,7 @@
|
||||
ABBR,TERM
|
||||
ABBR,MEANING
|
||||
CAT,Computer-Assisted (or Axial) Tomography
|
||||
CDC,"(U.S.) Centers for Disease Control and Prevention; previously known as the Communicable Disease Center"
|
||||
IAS,"Insulin autoimmune syndrome (a rare cause of reversible autoimmune hypoglycemia)"
|
||||
PR,per the rectum
|
||||
pr,per the rectum
|
||||
PT,prothrombin time
|
||||
PTT,partial thromboplastin time
|
|
@ -1,4 +1,4 @@
|
||||
ABBR,TERM
|
||||
ABBR,MEANING
|
||||
AA,Air-to-Air
|
||||
AA,Anti-Aircraft
|
||||
AAA,Anti-Aircraft Artillery
|
||||
@ -368,6 +368,7 @@ JAG,Judge Advocate General
|
||||
JAGIC,Joint Air-Ground Integration Center
|
||||
JAOC,Joint Air Operations Center
|
||||
JAOP,Joint Air Operations Plan
|
||||
JASDF,Japan Air Self Defense Force
|
||||
JAST,Joint Advanced Strike Technology
|
||||
JCN,Joint Communications Network
|
||||
JDAM,Joint Direct Attack Munition
|
||||
@ -439,7 +440,6 @@ MAXORD,Maximum Ordinate
|
||||
MBT,Main Battle Tank
|
||||
MCCS,Marine Corps Community Services
|
||||
MCM,Mine Countermeasures
|
||||
MCM,Mine Countermeasures
|
||||
MCRMC,Military Compensation and Retirement Modernization Commission
|
||||
MCSC,Managed Care Support Contract
|
||||
MCX,Marine Corps Exchange
|
||||
@ -456,11 +456,9 @@ MGIB-SR,Montgomery GI Bill Selected Reserve
|
||||
MHA,Military Housing Allowance
|
||||
MHA,Military Housing Area
|
||||
MHS,Military Health System
|
||||
MHS,Military Health System
|
||||
MIA,Missing in Action
|
||||
MIB,Military Intelligence Board
|
||||
MIDB,Modernized Integrated Database
|
||||
MILCON,military construction
|
||||
MILCON,Military Construction
|
||||
MILDEC,military deception
|
||||
MILDEP,Military Department
|
||||
@ -487,10 +485,10 @@ MPS,Military Postal Service
|
||||
MPSA,Military Postal Service Agency
|
||||
MR,Maritime Reconnaissance
|
||||
MRAV,Multi-Role Armored Vehicle
|
||||
MRBM,Medium Range Ballistic Missile
|
||||
MRBM,Medium-Range Ballistic Missile
|
||||
MRF,Military Retirement F
|
||||
MRR,Minimum-Risk Route
|
||||
MSAS,Mobility Support Advisory Squadron
|
||||
MSC,Military Sealift Command
|
||||
MSF,Mobile Security Force
|
||||
MSG,Master Sergeant
|
||||
@ -523,7 +521,6 @@ NFA,No-Fire Area
|
||||
NFL,No-Fire Line
|
||||
NFLS,Naval Forward Logistic Site
|
||||
NGFS,Naval Gunfire Support
|
||||
NGO,Nongovernmental Organization
|
||||
NIMS,National Incident Management System
|
||||
NLW,Nonlethal Weapon
|
||||
nm,Nautical Mile
|
||||
@ -576,6 +573,7 @@ PCM,Primary Care Manager
|
||||
PCS,Permanent Change of Station
|
||||
PD,Probability of Damage
|
||||
PDRL,Permanently Disabled Retired List
|
||||
PEGASUS,Persistent German Airborne Surveillance System
|
||||
PFC,Private First Class
|
||||
PFM,Personal Financial Management
|
||||
PFT,Physical Fitness Test
|
||||
@ -657,7 +655,6 @@ SAC,Strategic Air Command
|
||||
SAFE kit,Sexual Assault Forensic Examination Kit
|
||||
SAM,Surface-to-Air Missile
|
||||
SAP,Special Access Program
|
||||
SAR,Search And Rescue
|
||||
SAR,Search and Rescue
|
||||
SAS,Special Air Service
|
||||
SBA,Small Business Administration
|
||||
@ -684,7 +681,7 @@ SLS,Shoot-Look-Shoot
|
||||
SMC,Specialized Military Condition
|
||||
SMG,SubMachine Gun
|
||||
SMU,Special Mission Unit
|
||||
SNAFU,Situation Normal, All 'Fouled' Up
|
||||
SNAFU,"Situation Normal, All 'Fouled' Up"
|
||||
SNAP,Supplemental Nutrition Assistance Program
|
||||
SOCOM,Special Operations Command
|
||||
SOF,Special Operations Forces
|
||||
@ -769,6 +766,7 @@ USMTF,United States Message Text Format
|
||||
USN,United States Navy
|
||||
USNS,United States Naval Ship
|
||||
USW,Undersea Warfare
|
||||
USSF,"United States Space Force, the space service branch of the United States Armed Forces"
|
||||
UTC,Unit Type Code
|
||||
UXO,Unexploded Explosive Ordnance
|
||||
V/STOL,Vertical or Short Take-Off and Landing
|
||||
@ -790,7 +788,7 @@ WARM,Wartime Reserve Modes
|
||||
WARNORD,Warning Order
|
||||
WEZ,Weapon Engagement Zone
|
||||
WG,Working Group
|
||||
WIC,Women, Infants and Children
|
||||
WIC,"Women, Infants and Children"
|
||||
WLG,Washington Liaison Group
|
||||
WMD,Weapons of Mass Destruction
|
||||
WO,Warrant Officer
|
||||
|
Can't render this file because it has a wrong number of fields in line 63.
|
@ -1,6 +1,6 @@
|
||||
ABBR,TERM
|
||||
ABBR,MEANING
|
||||
8va,Octave up
|
||||
ABBA,"A swedish pop band consisting of Agnetha, Bjorn, Benny, and Anni-Frid"
|
||||
ABBA,"A swedish pop band consisting of Agnetha, Benny, Björn, and Anni-Frid"
|
||||
ACDC,An australian rock band
|
||||
ad lib,"Ad Libitum (“freely”)"
|
||||
afl,Alto flute
|
||||
|
|
@ -1,4 +1,4 @@
|
||||
ABBR,TERM
|
||||
ABBR,MEANING
|
||||
3M,The Minnesota Mining and Manufacturing Company
|
||||
A&W,Allen and Wright (founders Roy Allen and Frank Wright)
|
||||
AATF,"American Association of Teachers of French, or: African Agricultural Technology Foundation"
|
||||
@ -58,7 +58,6 @@ NSA,U.S. National Security Agency
|
||||
NYPD,New York Police Department
|
||||
OECD,Organization for Economic Cooperation & Development
|
||||
SAARC,South Asian Association for Regional Cooperation
|
||||
SWIFT,Society for Worldwide Interbank Financial Telecommunication
|
||||
TREAS,U.S. Department of the Treasury
|
||||
ULA,United Launch Alliance
|
||||
UN,United Nations Organization
|
||||
@ -67,7 +66,6 @@ UNICEF,United Nations Children's Fund
|
||||
UNO,United Nations Organization
|
||||
USDA,United States Department of Agriculture
|
||||
UPS,United Parcel Service
|
||||
USSF,"United States Space Force, the space service branch of the United States Armed Forces"
|
||||
USSF,"United States Soccer Federation, governing body of soccer in the United States"
|
||||
USSF,"United States Social Forum, an activist organization"
|
||||
USSF,"US Sumo Federation, governing body of sumo in the United States"
|
||||
|
Can't render this file because it has a wrong number of fields in line 16.
|
@ -1,4 +1,4 @@
|
||||
ABBR,TERM
|
||||
ABBR,MEANING
|
||||
AAAA,Asian Amateur Athletics Association
|
||||
AFC,American Football Conference
|
||||
DNF,Did Not Finish (Race)
|
||||
|
|
@ -5,7 +5,7 @@ APPLICATION, CATEGORY, APPID
|
||||
"Dopamine", "audio player", "Digimezzo.Dopamine.2"
|
||||
"Dropbox", "file sync", "Dropbox.Dropbox"
|
||||
"Git Extensions", "Git client", "GitExtensionsTeam.GitExtensions"
|
||||
"Git for Windows", "source code management","Git.Git"
|
||||
"Git for Windows", "source code management", "Git.Git"
|
||||
"Google Chrome", "desktop browser", "Google.Chrome"
|
||||
"Greenshot", "screenshot utility", "Greenshot.Greenshot"
|
||||
"grepWin", "search tool", "StefansTools.grepWin"
|
||||
@ -18,10 +18,12 @@ APPLICATION, CATEGORY, APPID
|
||||
"Mozilla Firefox", "desktop browser", "9NZVDKPMR9RD"
|
||||
"Mozilla Thunderbird", "email client", "Mozilla.Thunderbird"
|
||||
"Mp3tag", "MP3 tag editor", "9NN77TCQ1NC8"
|
||||
"Nearby Share", "file sync", "Google.NearbyShare"
|
||||
"Netflix", "video player", "9WZDNCRFJ3TJ"
|
||||
"Notepad++", "text editor", "Notepad++.Notepad++"
|
||||
"OBS Studio", "video recorder", "XPFFH613W8V6LV"
|
||||
"One Calendar", "desktop calendar", "9WZDNCRDR0SF"
|
||||
"Pandoc", "file converter", "JohnMacFarlane.Pandoc"
|
||||
"Pandoc", "document converter", "JohnMacFarlane.Pandoc"
|
||||
"Rufus", "ISO image writer", "9PC3H3V7Q9CH"
|
||||
"Signal", "messenger", "OpenWhisperSystems.Signal"
|
||||
"smartmontools", "HDD/SSD utility", "smartmontools.smartmontools"
|
||||
@ -31,4 +33,4 @@ APPLICATION, CATEGORY, APPID
|
||||
"VLC", "video player", "XPDM1ZW6815MQM"
|
||||
"Windows Terminal", "console terminal", "9N0DX20HK701"
|
||||
"WhatsApp", "messenger", "9NKSQGP7F2NH"
|
||||
"Zoom", "video conferencing", "Zoom.Zoom"
|
||||
"Zoom", "video conference software", "Zoom.Zoom"
|
||||
|
|
@ -1,14 +0,0 @@
|
||||
NAME,URL
|
||||
Toggl Track,"https://track.toggl.com/timer"
|
||||
Google Calendar,"https://calendar.google.com/calendar/u/0/r/agenda"
|
||||
CNN World News,"https://edition.cnn.com/world"
|
||||
Google News,"https://news.google.com"
|
||||
GitHub Explore,"https://github.com/explore"
|
||||
FlightRadar24,"https://www.flightradar24.com/27.63,-6.98/3"
|
||||
Earthquake Watch,"https://www.arcgis.com/apps/dashboards/c8af9c5411814584b460cc87cb7c3780"
|
||||
Live Cyber Threat Map,"https://threatmap.checkpoint.com"
|
||||
Webcams,"https://www.foto-webcam.eu"
|
||||
Peak webcam Zugspitze,"https://zugspitze.panomax.com"
|
||||
Airport webcam Salzburg,"https://livecam.salzburg-airport.com"
|
||||
Windy Weather Radar,"https://www.windy.com/de/-Weather-radar-radar"
|
||||
Windy Weather Temperatures,"https://www.windy.com/-Temperature-temp"
|
|
@ -4,15 +4,14 @@ bazel, build tool, master, no, "git@github.com:bazelbui
|
||||
cmake, build tool, master, no, "git@github.com:Kitware/CMake.git"
|
||||
cmatrix, CLI fun, master, no, "git@github.com:abishekvashok/cmatrix.git"
|
||||
cmark, tool, master, no, "git@github.com:commonmark/cmark.git"
|
||||
CWTS, dev tool, master, no, "git@github.com:fleschutz/CWTS.git"
|
||||
CSS, math tool, main, no, "git@github.com:chikitpao/CSS.git"
|
||||
CWTS, dev tool, main, no, "git@github.com:fleschutz/CWTS.git"
|
||||
elasticsearch, search tool, main, no, "git@github.com:elastic/elasticsearch.git"
|
||||
kubo, file sharing tool, master, no, "git@github.com:ipfs/kubo.git"
|
||||
grafana, visualization tool, main, no, "git@github.com:grafana/grafana.git"
|
||||
jhead, EXIF tool, master, no, "git@github.com:Matthias-Wandel/jhead"
|
||||
leon, personal assistant, master, no, "git@github.com:leon-ai/leon.git"
|
||||
llvm, compiler, master, no, "git@github.com:llvm/llvm-project.git"
|
||||
LSS, math, master, no, "git@github.com:fleschutz/LSS.git"
|
||||
llvm, compiler, main, no, "git@github.com:llvm/llvm-project.git"
|
||||
LSS, math tool, main, no, "git@github.com:fleschutz/LSS.git"
|
||||
ninja, build tool, master, no, "git@github.com:ninja-build/ninja.git"
|
||||
opencv, lib, master, no, "git@github.com:opencv/opencv.git"
|
||||
operating-systems, collection, main, no, "git@github.com:fleschutz/operating-systems.git"
|
||||
|
|
20
Data/web-dashboards.csv
Normal file
20
Data/web-dashboards.csv
Normal file
@ -0,0 +1,20 @@
|
||||
NAME, URL
|
||||
Toggl Track, "https://track.toggl.com/timer"
|
||||
Google Calendar,"https://calendar.google.com/calendar/u/0/r/agenda"
|
||||
Google Mail, "https://mail.google.com/"
|
||||
Google Keep, "https://keep.google.com/"
|
||||
Google Photos, "https://photos.google.com/"
|
||||
Google News, "https://news.google.com"
|
||||
Outlook Mail, "https://outlook.office.com/mail/"
|
||||
CNN News, "https://edition.cnn.com"
|
||||
GitHub Explore, "https://github.com/explore"
|
||||
FlightRadar24, "https://www.flightradar24.com/27.63,-6.98/3"
|
||||
Earthquake Watch,"https://www.arcgis.com/apps/dashboards/c8af9c5411814584b460cc87cb7c3780"
|
||||
Live Cyber Threat Map,"https://threatmap.checkpoint.com"
|
||||
Netflix Top 10, "https://www.netflix.com/tudum/top10/"
|
||||
YouTube Music Charts,"https://charts.youtube.com/"
|
||||
Webcams, "https://www.foto-webcam.eu"
|
||||
Peak Zugspitze, "https://zugspitze.panomax.com"
|
||||
Airport Salzburg,"https://livecam.salzburg-airport.com"
|
||||
Windy Weather Radar,"https://www.windy.com/de/-Weather-radar-radar"
|
||||
Windy Weather Temperatures,"https://www.windy.com/-Temperature-temp"
|
Can't render this file because it has a wrong number of fields in line 2.
|
11
Docs/FAQ.md
11
Docs/FAQ.md
@ -63,7 +63,7 @@ NOTE: the group policy object (GPO) settings of your organization might disallow
|
||||
|
||||
<details><summary>How to execute PowerShell scripts in Jenkins?</summary>
|
||||
|
||||
**Install the 'PowerShell plugin', it allows Jenkins to invoke PowerShell as build scripts. It uses PowerShell.exe on Windows and pwsh on Linux.**
|
||||
**Install the 'PowerShell plugin' in Jenkins, it allows to invoke PowerShell as build scripts. It uses PowerShell.exe on Windows and pwsh on Linux.**
|
||||
</details>
|
||||
|
||||
<details><summary>What about security?</summary>
|
||||
@ -111,7 +111,7 @@ Want to use the PowerShell scripts everywhere on the command-line? Then you need
|
||||
|
||||
**Good PowerShell scripts are both user-friendly and platform-independent. As a starting point I recommend the following:**
|
||||
|
||||
* Use the `<verb>-<object>.ps1` scheme to name the script.
|
||||
* As filename use the `<verb>-<object>.ps1` scheme. Approved verbs can be found here: [https://learn.microsoft.com/en-us/powershell/scripting/developer/cmdlet/approved-verbs-for-windows-powershell-commands](https://learn.microsoft.com/en-us/powershell/scripting/developer/cmdlet/approved-verbs-for-windows-powershell-commands)
|
||||
* Use `UTF-8 BOM` encoding to support Unicode characters in the script.
|
||||
* Add a comment-based help at the beginning with: `.SYNOPSIS`, `.DESCRIPTION`, `.PARAMETER`, `.EXAMPLE`, `.LINK`, and `.NOTES`.
|
||||
* Check the requirements for the script, e.g. `#Requires -RunAsAdministrator`, or `#Requires -Version 3`
|
||||
@ -132,7 +132,12 @@ Want to use the PowerShell scripts everywhere on the command-line? Then you need
|
||||
**If you find something bad (like a bug, error, or any issue), please report it here by opening an Issue. Or even better: Fork the repository, add or fix the script and submit a pull request, so others can participate too.**
|
||||
</details>
|
||||
|
||||
<details><summary>How to donate to this project?</summary>
|
||||
|
||||
**Just follow this link: [https://www.paypal.com/paypalme/Fleschutz](https://www.paypal.com/paypalme/Fleschutz). Thank you very much!**
|
||||
</details>
|
||||
|
||||
<details><summary>What if my question is not answered here?</summary>
|
||||
|
||||
**Just send your question to: markus.fleschutz [at] gmail.com**
|
||||
**Just send your question by e-mail to: markus.fleschutz [at] gmail.com**
|
||||
</details>
|
||||
|
@ -1,10 +1,12 @@
|
||||
## The *add-firewall-rules.ps1* Script
|
||||
*add-firewall-rules.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script adds firewall rules for the given executable. Administrator rights are required.
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/add-firewall-rules.ps1 [[-PathToExecutables] <String>] [<CommonParameters>]
|
||||
PS> ./add-firewall-rules.ps1 [[-PathToExecutables] <String>] [<CommonParameters>]
|
||||
|
||||
-PathToExecutables <String>
|
||||
Specifies the path to the executables
|
||||
@ -20,22 +22,26 @@ This PowerShell script adds firewall rules for the given executable. Administrat
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./add-firewall-rules C:\MyApp\bin
|
||||
PS> ./add-firewall-rules.ps1 C:\MyApp\bin
|
||||
Adding firewall rule for C:\MyApp\bin\app1.exe
|
||||
Adding firewall rule for C:\MyApp\bin\app2.exe
|
||||
...
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -45,7 +51,7 @@ https://github.com/fleschutz/PowerShell
|
||||
.PARAMETER PathToExecutables
|
||||
Specifies the path to the executables
|
||||
.EXAMPLE
|
||||
PS> ./add-firewall-rules C:\MyApp\bin
|
||||
PS> ./add-firewall-rules.ps1 C:\MyApp\bin
|
||||
Adding firewall rule for C:\MyApp\bin\app1.exe
|
||||
Adding firewall rule for C:\MyApp\bin\app2.exe
|
||||
...
|
||||
@ -103,4 +109,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of add-firewall-rules.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of add-firewall-rules.ps1 as of 08/06/2023 21:36:04)*
|
||||
|
@ -1,10 +1,12 @@
|
||||
## The *add-memo.ps1* Script
|
||||
*add-memo.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script saves the given memo text to Memos.csv in your home folder.
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/add-memo.ps1 [[-text] <String>] [<CommonParameters>]
|
||||
PS> ./add-memo.ps1 [[-text] <String>] [<CommonParameters>]
|
||||
|
||||
-text <String>
|
||||
Specifies the text to memorize
|
||||
@ -20,20 +22,24 @@ This PowerShell script saves the given memo text to Memos.csv in your home folde
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./add-memo "Buy apples"
|
||||
PS> ./add-memo.ps1 "Buy apples"
|
||||
✔️ saved to 📄/home/markus/Memos.csv
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -43,7 +49,7 @@ https://github.com/fleschutz/PowerShell
|
||||
.PARAMETER text
|
||||
Specifies the text to memorize
|
||||
.EXAMPLE
|
||||
PS> ./add-memo "Buy apples"
|
||||
PS> ./add-memo.ps1 "Buy apples"
|
||||
✔️ saved to 📄/home/markus/Memos.csv
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
@ -73,4 +79,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of add-memo.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of add-memo.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -1,10 +1,12 @@
|
||||
## The *alert.ps1* Script
|
||||
*alert.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script handles and escalates the given alert message.
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/alert.ps1 [[-Message] <String>] [<CommonParameters>]
|
||||
PS> ./alert.ps1 [[-Message] <String>] [<CommonParameters>]
|
||||
|
||||
-Message <String>
|
||||
Specifies the alert message
|
||||
@ -20,19 +22,23 @@ This PowerShell script handles and escalates the given alert message.
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./alert "Harddisk failure"
|
||||
PS> ./alert.ps1 "Harddisk failure"
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -42,7 +48,7 @@ https://github.com/fleschutz/PowerShell
|
||||
.PARAMETER message
|
||||
Specifies the alert message
|
||||
.EXAMPLE
|
||||
PS> ./alert "Harddisk failure"
|
||||
PS> ./alert.ps1 "Harddisk failure"
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -65,4 +71,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of alert.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of alert.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -1,10 +1,12 @@
|
||||
## The *build-repo.ps1* Script
|
||||
*build-repo.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script builds a repository by supporting: cmake, configure, autogen, Imakefile, and Makefile.
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/build-repo.ps1 [[-RepoDir] <String>] [<CommonParameters>]
|
||||
PS> ./build-repo.ps1 [[-RepoDir] <String>] [<CommonParameters>]
|
||||
|
||||
-RepoDir <String>
|
||||
Specifies the path to the Git repository
|
||||
@ -20,19 +22,23 @@ This PowerShell script builds a repository by supporting: cmake, configure, auto
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./build-repo C:\MyRepo
|
||||
PS> ./build-repo.ps1 C:\MyRepo
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -42,7 +48,7 @@ https://github.com/fleschutz/PowerShell
|
||||
.PARAMETER RepoDir
|
||||
Specifies the path to the Git repository
|
||||
.EXAMPLE
|
||||
PS> ./build-repo C:\MyRepo
|
||||
PS> ./build-repo.ps1 C:\MyRepo
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -171,4 +177,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of build-repo.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of build-repo.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -1,10 +1,12 @@
|
||||
## The *build-repos.ps1* Script
|
||||
*build-repos.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script builds all Git repositories in a folder.
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/build-repos.ps1 [[-ParentDir] <String>] [<CommonParameters>]
|
||||
PS> ./build-repos.ps1 [[-ParentDir] <String>] [<CommonParameters>]
|
||||
|
||||
-ParentDir <String>
|
||||
Specifies the path to the parent folder
|
||||
@ -20,19 +22,23 @@ This PowerShell script builds all Git repositories in a folder.
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./build-repos C:\MyRepos
|
||||
PS> ./build-repos.ps1 C:\MyRepos
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -42,7 +48,7 @@ https://github.com/fleschutz/PowerShell
|
||||
.PARAMETER ParentDir
|
||||
Specifies the path to the parent folder
|
||||
.EXAMPLE
|
||||
PS> ./build-repos C:\MyRepos
|
||||
PS> ./build-repos.ps1 C:\MyRepos
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -76,4 +82,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of build-repos.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of build-repos.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -1,26 +0,0 @@
|
||||
## bye-bye.ps1 - Replies to 'bye bye'
|
||||
|
||||
This script says a reply to 'bye bye' by text-to-speech (TTS).
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
bye-bye.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./bye-bye
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of bye-bye.ps1*
|
@ -1,30 +1,36 @@
|
||||
## The *cd-autostart.ps1* Script
|
||||
*cd-autostart.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script changes the working directory to the user's autostart folder.
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/cd-autostart.ps1 [<CommonParameters>]
|
||||
PS> ./cd-autostart.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./cd-autostart
|
||||
PS> ./cd-autostart.ps1
|
||||
📂C:\Users\Markus\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -32,7 +38,7 @@ https://github.com/fleschutz/PowerShell
|
||||
.DESCRIPTION
|
||||
This PowerShell script changes the working directory to the user's autostart folder.
|
||||
.EXAMPLE
|
||||
PS> ./cd-autostart
|
||||
PS> ./cd-autostart.ps1
|
||||
📂C:\Users\Markus\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
@ -54,4 +60,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of cd-autostart.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-autostart.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -1,30 +1,36 @@
|
||||
## The *cd-crashdumps.ps1* Script
|
||||
*cd-crashdumps.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script changes the working directory to the crash dumps directory (Windows only).
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/cd-crashdumps.ps1 [<CommonParameters>]
|
||||
PS> ./cd-crashdumps.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./cd-crashdumps
|
||||
📂C:\Users\Markus\AppData\Local\CrashDumps
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -54,4 +60,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of cd-crashdumps.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-crashdumps.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -1,30 +1,36 @@
|
||||
## The *cd-desktop.ps1* Script
|
||||
*cd-desktop.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script changes the working directory to the user's desktop folder.
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/cd-desktop.ps1 [<CommonParameters>]
|
||||
PS> ./cd-desktop.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./cd-desktop
|
||||
📂/home/Markus/Desktop
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -58,4 +64,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of cd-desktop.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-desktop.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -1,30 +1,36 @@
|
||||
## The *cd-docs.ps1* Script
|
||||
*cd-docs.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script changes the working directory to the documents folder.
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/cd-docs.ps1 [<CommonParameters>]
|
||||
PS> ./cd-docs.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./cd-docs
|
||||
📂C:\Users\Markus\Documents
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -58,4 +64,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of cd-docs.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-docs.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -1,30 +1,36 @@
|
||||
## The *cd-downloads.ps1* Script
|
||||
*cd-downloads.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script changes the working directory to the user's downloads folder.
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/cd-downloads.ps1 [<CommonParameters>]
|
||||
PS> ./cd-downloads.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./cd-downloads
|
||||
📂C:\Users\Markus\Downloads
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -58,4 +64,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of cd-downloads.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-downloads.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -1,30 +1,36 @@
|
||||
## The *cd-dropbox.ps1* Script
|
||||
*cd-dropbox.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script changes the working directory to the user's Dropbox folder.
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/cd-dropbox.ps1 [<CommonParameters>]
|
||||
PS> ./cd-dropbox.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./cd-dropbox
|
||||
📂/home/Markus/Dropbox
|
||||
📂C:\Users\Markus\Dropbox
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -33,7 +39,7 @@ https://github.com/fleschutz/PowerShell
|
||||
This PowerShell script changes the working directory to the user's Dropbox folder.
|
||||
.EXAMPLE
|
||||
PS> ./cd-dropbox
|
||||
📂/home/Markus/Dropbox
|
||||
📂C:\Users\Markus\Dropbox
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -54,4 +60,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of cd-dropbox.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-dropbox.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
67
Docs/cd-etc.md
Normal file
67
Docs/cd-etc.md
Normal file
@ -0,0 +1,67 @@
|
||||
*cd-etc.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script changes the working directory to the /etc directory.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
PS> ./cd-etc.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./cd-etc
|
||||
📂C:\Windows\System32\drivers\etc
|
||||
|
||||
```
|
||||
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Changes to the /etc directory
|
||||
.DESCRIPTION
|
||||
This PowerShell script changes the working directory to the /etc directory.
|
||||
.EXAMPLE
|
||||
PS> ./cd-etc
|
||||
📂C:\Windows\System32\drivers\etc
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
try {
|
||||
if ($IsLinx) {
|
||||
$Path = "/etc"
|
||||
} else {
|
||||
$Path = Resolve-Path "$env:WINDIR\System32\drivers\etc"
|
||||
}
|
||||
if (-not(Test-Path "$Path" -pathType container)) {
|
||||
throw "/etc directory at 📂$Path doesn't exist (yet)"
|
||||
}
|
||||
Set-Location "$Path"
|
||||
"📂$Path"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-etc.ps1 as of 08/06/2023 21:36:05)*
|
@ -1,30 +1,36 @@
|
||||
## The *cd-fonts.ps1* Script
|
||||
*cd-fonts.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script changes the working directory to the fonts folder.
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/cd-fonts.ps1 [<CommonParameters>]
|
||||
PS> ./cd-fonts.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./cd-fonts
|
||||
📂C:\Windows\Fonts
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -54,4 +60,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of cd-fonts.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-fonts.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -1,30 +1,36 @@
|
||||
## The *cd-home.ps1* Script
|
||||
*cd-home.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script changes the working directory to the user's home directory.
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/cd-home.ps1 [<CommonParameters>]
|
||||
PS> ./cd-home.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./cd-home
|
||||
📂/home/Markus
|
||||
📂C:\Users\Markus
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -33,7 +39,7 @@ https://github.com/fleschutz/PowerShell
|
||||
This PowerShell script changes the working directory to the user's home directory.
|
||||
.EXAMPLE
|
||||
PS> ./cd-home
|
||||
📂/home/Markus
|
||||
📂C:\Users\Markus
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -54,4 +60,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of cd-home.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-home.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
51
Docs/cd-logs.md
Normal file
51
Docs/cd-logs.md
Normal file
@ -0,0 +1,51 @@
|
||||
*cd-logs.ps1*
|
||||
================
|
||||
|
||||
cd-logs.ps1
|
||||
|
||||
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Sets the working directory to the logs folder
|
||||
.DESCRIPTION
|
||||
This PowerShell script changes the current working directory to the logs directory.
|
||||
.EXAMPLE
|
||||
PS> ./cd-logs
|
||||
📂/var/logs
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
function GetLogsDir {
|
||||
if ($IsLinux) { return "/var/logs" }
|
||||
$WinDir = [System.Environment]::GetFolderPath('Windows')
|
||||
return "$WinDir\Logs"
|
||||
}
|
||||
|
||||
try {
|
||||
$Path = GetLogsDir
|
||||
Set-Location "$Path"
|
||||
"📂$Path"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-logs.ps1 as of 08/06/2023 21:36:05)*
|
@ -1,30 +1,36 @@
|
||||
## The *cd-music.ps1* Script
|
||||
*cd-music.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script changes the working directory to the user's music folder.
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/cd-music.ps1 [<CommonParameters>]
|
||||
PS> ./cd-music.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./cd-music
|
||||
📂/home/Markus/Music
|
||||
📂C:\Users\Markus\Music
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -33,7 +39,7 @@ https://github.com/fleschutz/PowerShell
|
||||
This PowerShell script changes the working directory to the user's music folder.
|
||||
.EXAMPLE
|
||||
PS> ./cd-music
|
||||
📂/home/Markus/Music
|
||||
📂C:\Users\Markus\Music
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -58,4 +64,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of cd-music.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-music.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -1,30 +1,36 @@
|
||||
## The *cd-onedrive.ps1* Script
|
||||
*cd-onedrive.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script changes the working directory to the user's OneDrive folder.
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/cd-onedrive.ps1 [<CommonParameters>]
|
||||
PS> ./cd-onedrive.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./cd-onedrive
|
||||
📂/home/Markus/OneDrive
|
||||
📂C:\Users\Markus\OneDrive
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -33,7 +39,7 @@ https://github.com/fleschutz/PowerShell
|
||||
This PowerShell script changes the working directory to the user's OneDrive folder.
|
||||
.EXAMPLE
|
||||
PS> ./cd-onedrive
|
||||
📂/home/Markus/OneDrive
|
||||
📂C:\Users\Markus\OneDrive
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -54,4 +60,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of cd-onedrive.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-onedrive.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -1,30 +1,36 @@
|
||||
## The *cd-pics.ps1* Script
|
||||
*cd-pics.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script changes the working directory to the user's pictures folder.
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/cd-pics.ps1 [<CommonParameters>]
|
||||
PS> ./cd-pics.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./cd-pics
|
||||
📂/home/Markus/Pictures
|
||||
📂C:\Users\Markus\Pictures
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -33,7 +39,7 @@ https://github.com/fleschutz/PowerShell
|
||||
This PowerShell script changes the working directory to the user's pictures folder.
|
||||
.EXAMPLE
|
||||
PS> ./cd-pics
|
||||
📂/home/Markus/Pictures
|
||||
📂C:\Users\Markus\Pictures
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -46,9 +52,7 @@ try {
|
||||
} else {
|
||||
$Path = [Environment]::GetFolderPath('MyPictures')
|
||||
}
|
||||
if (-not(Test-Path "$Path" -pathType container)) {
|
||||
throw "Pictures folder at 📂$Path doesn't exist (yet)"
|
||||
}
|
||||
if (-not(Test-Path "$Path" -pathType container)) { throw "Pictures folder at 📂$Path doesn't exist (yet)" }
|
||||
Set-Location "$Path"
|
||||
"📂$Path"
|
||||
exit 0 # success
|
||||
@ -58,4 +62,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of cd-pics.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-pics.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -1,30 +1,36 @@
|
||||
## The *cd-public.ps1* Script
|
||||
*cd-public.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script changes the working directory to the Public folder.
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/cd-public.ps1 [<CommonParameters>]
|
||||
PS> ./cd-public.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./cd-public
|
||||
📂C:\Users\Public
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -46,16 +52,14 @@ try {
|
||||
} else {
|
||||
$Path = Resolve-Path "~/../Public"
|
||||
}
|
||||
if (Test-Path "$Path" -pathType container) {
|
||||
if (-not(Test-Path "$Path" -pathType container)) { throw "Public folder at 📂$Path doesn't exist (yet)" }
|
||||
Set-Location "$Path"
|
||||
"📂$Path"
|
||||
exit 0 # success
|
||||
}
|
||||
throw "Public folder at 📂$Path doesn't exist (yet)"
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of cd-public.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-public.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -1,9 +1,11 @@
|
||||
## The *cd-recycle-bin.ps1* Script
|
||||
*cd-recycle-bin.ps1*
|
||||
================
|
||||
|
||||
cd-recycle-bin.ps1
|
||||
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
|
||||
|
||||
@ -12,7 +14,8 @@ cd-recycle-bin.ps1
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -40,9 +43,7 @@ try {
|
||||
} else {
|
||||
$Path = "C:\$Recycle.Bin\" + "$(GetCurrentUserSID)"
|
||||
}
|
||||
if (-not(Test-Path "$Path" -pathType container)) {
|
||||
throw "Recycle bin folder at 📂$Path doesn't exist (yet)"
|
||||
}
|
||||
if (-not(Test-Path "$Path" -pathType container)) { throw "Recycle bin folder at 📂$Path doesn't exist (yet)" }
|
||||
Set-Location "$Path"
|
||||
"📂$Path"
|
||||
exit 0 # success
|
||||
@ -52,4 +53,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of cd-recycle-bin.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-recycle-bin.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -1,10 +1,12 @@
|
||||
## The *cd-repos.ps1* Script
|
||||
*cd-repos.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script changes the working directory to the user's Git repositories folder.
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/cd-repos.ps1 [[-Subpath] <String>] [<CommonParameters>]
|
||||
PS> ./cd-repos.ps1 [[-Subpath] <String>] [<CommonParameters>]
|
||||
|
||||
-Subpath <String>
|
||||
Specifies an additional relative subpath (optional)
|
||||
@ -20,20 +22,24 @@ This PowerShell script changes the working directory to the user's Git repositor
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./cd-repos
|
||||
📂C:\Users\Markus\Repos
|
||||
📂C:\Users\Markus\source\Repos
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -44,7 +50,7 @@ https://github.com/fleschutz/PowerShell
|
||||
Specifies an additional relative subpath (optional)
|
||||
.EXAMPLE
|
||||
PS> ./cd-repos
|
||||
📂C:\Users\Markus\Repos
|
||||
📂C:\Users\Markus\source\Repos
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -63,9 +69,7 @@ try {
|
||||
} else {
|
||||
throw "The folder for Git repositories in your home directory doesn't exist (yet)."
|
||||
}
|
||||
if (-not(Test-Path "$Path" -pathType Container)) {
|
||||
throw "The path to 📂$Path doesn't exist (yet)."
|
||||
}
|
||||
if (-not(Test-Path "$Path" -pathType Container)) { throw "The path to 📂$Path doesn't exist (yet)." }
|
||||
$Path = Resolve-Path "$Path"
|
||||
Set-Location "$Path"
|
||||
"📂$Path"
|
||||
@ -76,4 +80,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of cd-repos.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-repos.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -1,30 +1,36 @@
|
||||
## The *cd-root.ps1* Script
|
||||
*cd-root.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script changes the current working directory to the root directory (C:\ on Windows).
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/cd-root.ps1 [<CommonParameters>]
|
||||
PS> ./cd-root.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./cd-root
|
||||
📂C:\
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -51,4 +57,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of cd-root.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-root.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -1,9 +1,11 @@
|
||||
## The *cd-screenshots.ps1* Script
|
||||
*cd-screenshots.ps1*
|
||||
================
|
||||
|
||||
cd-screenshots.ps1
|
||||
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
|
||||
|
||||
@ -12,7 +14,8 @@ cd-screenshots.ps1
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -52,4 +55,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of cd-screenshots.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-screenshots.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -1,30 +1,36 @@
|
||||
## The *cd-scripts.ps1* Script
|
||||
*cd-scripts.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script changes the working directory to the PowerShell scripts folder.
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/cd-scripts.ps1 [<CommonParameters>]
|
||||
PS> ./cd-scripts.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./cd-scripts
|
||||
📂/home/Markus/PowerShell/Scripts
|
||||
📂C:\Users\Markus\source\repos\PowerShell\Scripts
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -33,7 +39,7 @@ https://github.com/fleschutz/PowerShell
|
||||
This PowerShell script changes the working directory to the PowerShell scripts folder.
|
||||
.EXAMPLE
|
||||
PS> ./cd-scripts
|
||||
📂/home/Markus/PowerShell/Scripts
|
||||
📂C:\Users\Markus\source\repos\PowerShell\Scripts
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -42,9 +48,7 @@ https://github.com/fleschutz/PowerShell
|
||||
|
||||
try {
|
||||
$Path = Resolve-Path "$PSScriptRoot"
|
||||
if (-not(Test-Path "$Path" -pathType container)) {
|
||||
throw "PowerShell scripts folder at 📂$Path doesn't exist (yet)"
|
||||
}
|
||||
if (-not(Test-Path "$Path" -pathType container)) { throw "PowerShell scripts folder at 📂$Path doesn't exist (yet)" }
|
||||
Set-Location "$Path"
|
||||
"📂$Path"
|
||||
exit 0 # success
|
||||
@ -54,4 +58,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of cd-scripts.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-scripts.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -1,30 +1,36 @@
|
||||
## The *cd-ssh.ps1* Script
|
||||
*cd-ssh.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script changes the working directory to the user's SSH folder.
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/cd-ssh.ps1 [<CommonParameters>]
|
||||
PS> ./cd-ssh.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./cd-ssh
|
||||
📂/home/Markus/.ssh
|
||||
📂C:\Users\Markus\.ssh
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -33,7 +39,7 @@ https://github.com/fleschutz/PowerShell
|
||||
This PowerShell script changes the working directory to the user's SSH folder.
|
||||
.EXAMPLE
|
||||
PS> ./cd-ssh
|
||||
📂/home/Markus/.ssh
|
||||
📂C:\Users\Markus\.ssh
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -42,16 +48,14 @@ https://github.com/fleschutz/PowerShell
|
||||
|
||||
try {
|
||||
$Path = Resolve-Path "~/.ssh"
|
||||
if (Test-Path "$Path" -pathType container) {
|
||||
if (-not(Test-Path "$Path" -pathType container)) { throw "User's SSH folder at 📂$Path doesn't exist (yet)" }
|
||||
Set-Location "$Path"
|
||||
"📂$Path"
|
||||
exit 0 # success
|
||||
}
|
||||
throw "User's SSH folder at 📂$Path doesn't exist (yet)"
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of cd-ssh.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-ssh.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -1,9 +1,11 @@
|
||||
## The *cd-temp.ps1* Script
|
||||
*cd-temp.ps1*
|
||||
================
|
||||
|
||||
cd-temp.ps1
|
||||
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
|
||||
|
||||
@ -12,7 +14,8 @@ cd-temp.ps1
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -37,9 +40,7 @@ function GetTempDir {
|
||||
|
||||
try {
|
||||
$Path = GetTempDir
|
||||
if (-not(Test-Path "$Path" -pathType container)) {
|
||||
throw "Temporary folder at 📂$Path doesn't exist (yet)"
|
||||
}
|
||||
if (-not(Test-Path "$Path" -pathType container)) { throw "Temporary folder at 📂$Path doesn't exist (yet)" }
|
||||
Set-Location "$Path"
|
||||
"📂$Path"
|
||||
exit 0 # success
|
||||
@ -49,4 +50,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of cd-temp.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-temp.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -1,30 +1,36 @@
|
||||
## The *cd-templates.ps1* Script
|
||||
*cd-templates.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script changes the working directory to the templates folder.
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/cd-templates.ps1 [<CommonParameters>]
|
||||
PS> ./cd-templates.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./cd-templates
|
||||
📂/home/Markus/Templates
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -46,16 +52,14 @@ try {
|
||||
} else {
|
||||
$Path = [Environment]::GetFolderPath('Templates')
|
||||
}
|
||||
if (Test-Path "$Path" -pathType container) {
|
||||
if (-not(Test-Path "$Path" -pathType container)) { throw "Templates folder at 📂$Path doesn't exist (yet)" }
|
||||
Set-Location "$Path"
|
||||
"📂$Path"
|
||||
exit 0 # success
|
||||
}
|
||||
throw "Templates folder at 📂$Path doesn't exist (yet)"
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of cd-templates.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-templates.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -1,9 +1,11 @@
|
||||
## The *cd-trash.ps1* Script
|
||||
*cd-trash.ps1*
|
||||
================
|
||||
|
||||
cd-trash.ps1
|
||||
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
|
||||
|
||||
@ -12,7 +14,8 @@ cd-trash.ps1
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -40,9 +43,7 @@ try {
|
||||
} else {
|
||||
$Path = "C:\$Recycle.Bin\" + "$(GetCurrentUserSID)"
|
||||
}
|
||||
if (-not(Test-Path "$Path" -pathType container)) {
|
||||
throw "Trash folder at 📂$Path doesn't exist (yet)"
|
||||
}
|
||||
if (-not(Test-Path "$Path" -pathType container)) { throw "Trash folder at 📂$Path doesn't exist (yet)" }
|
||||
Set-Location "$Path"
|
||||
"📂$Path"
|
||||
exit 0 # success
|
||||
@ -52,4 +53,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of cd-trash.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-trash.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -1,30 +1,36 @@
|
||||
## The *cd-up.ps1* Script
|
||||
*cd-up.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script changes the working directory to one directory level up.
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/cd-up.ps1 [<CommonParameters>]
|
||||
PS> ./cd-up.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> .\cd-up
|
||||
📂C:\Users
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -42,9 +48,7 @@ https://github.com/fleschutz/PowerShell
|
||||
|
||||
try {
|
||||
$Path = Resolve-Path ".."
|
||||
if (-not(Test-Path "$Path" -pathType container)) {
|
||||
throw "Folder at 📂$Path doesn't exist (yet)"
|
||||
}
|
||||
if (-not(Test-Path "$Path" -pathType container)) { throw "Folder at 📂$Path doesn't exist (yet)" }
|
||||
Set-Location "$Path"
|
||||
"📂$Path"
|
||||
exit 0 # success
|
||||
@ -54,4 +58,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of cd-up.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-up.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -1,30 +1,36 @@
|
||||
## The *cd-up2.ps1* Script
|
||||
*cd-up2.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script changes the working directory to two directory level up.
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/cd-up2.ps1 [<CommonParameters>]
|
||||
PS> ./cd-up2.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./cd-up2
|
||||
📂C:\
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -42,9 +48,7 @@ https://github.com/fleschutz/PowerShell
|
||||
|
||||
try {
|
||||
$Path = Resolve-Path "../.."
|
||||
if (-not(Test-Path "$Path" -pathType container)) {
|
||||
throw "Folder at 📂$Path doesn't exist (yet)"
|
||||
}
|
||||
if (-not(Test-Path "$Path" -pathType container)) { throw "Folder at 📂$Path doesn't exist (yet)" }
|
||||
Set-Location "$Path"
|
||||
"📂$Path"
|
||||
exit 0 # success
|
||||
@ -54,4 +58,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of cd-up2.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-up2.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -1,30 +1,36 @@
|
||||
## The *cd-up3.ps1* Script
|
||||
*cd-up3.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script changes the working directory to three directory levels up.
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/cd-up3.ps1 [<CommonParameters>]
|
||||
PS> ./cd-up3.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./cd-up3
|
||||
📂C:\
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -42,9 +48,7 @@ https://github.com/fleschutz/PowerShell
|
||||
|
||||
try {
|
||||
$Path = Resolve-Path "../../.."
|
||||
if (-not(Test-Path "$Path" -pathType container)) {
|
||||
throw "Folder at 📂$Path doesn't exist (yet)"
|
||||
}
|
||||
if (-not(Test-Path "$Path" -pathType container)) { throw "Folder at 📂$Path doesn't exist (yet)" }
|
||||
Set-Location "$Path"
|
||||
"📂$Path"
|
||||
exit 0 # success
|
||||
@ -54,4 +58,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of cd-up3.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-up3.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -1,30 +1,36 @@
|
||||
## The *cd-up4.ps1* Script
|
||||
*cd-up4.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script changes the working directory to four directory levels up.
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/cd-up4.ps1 [<CommonParameters>]
|
||||
PS> ./cd-up4.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./cd-up4
|
||||
📂C:\
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -42,9 +48,7 @@ https://github.com/fleschutz/PowerShell
|
||||
|
||||
try {
|
||||
$Path = Resolve-Path "../../../.."
|
||||
if (-not(Test-Path "$Path" -pathType container)) {
|
||||
throw "Folder at 📂$Path doesn't exist (yet)"
|
||||
}
|
||||
if (-not(Test-Path "$Path" -pathType container)) { throw "Folder at 📂$Path doesn't exist (yet)" }
|
||||
Set-Location "$Path"
|
||||
"📂$Path"
|
||||
exit 0 # success
|
||||
@ -54,4 +58,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of cd-up4.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-up4.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -1,30 +1,36 @@
|
||||
## The *cd-users.ps1* Script
|
||||
*cd-users.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script changes the working directory to the users directory.
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/cd-users.ps1 [<CommonParameters>]
|
||||
PS> ./cd-users.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./cd-users
|
||||
📂C:\Users
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -42,9 +48,7 @@ https://github.com/fleschutz/PowerShell
|
||||
|
||||
try {
|
||||
$Path = Resolve-Path "$HOME/.."
|
||||
if (-not(Test-Path "$Path" -pathType container)) {
|
||||
throw "Users directory at 📂$Path doesn't exist (yet)"
|
||||
}
|
||||
if (-not(Test-Path "$Path" -pathType container)) { throw "Users directory at 📂$Path doesn't exist (yet)" }
|
||||
Set-Location "$Path"
|
||||
"📂$Path"
|
||||
exit 0 # success
|
||||
@ -54,4 +58,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of cd-users.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-users.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -1,30 +1,36 @@
|
||||
## The *cd-videos.ps1* Script
|
||||
*cd-videos.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script changes the working directory to the user's videos folder.
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/cd-videos.ps1 [<CommonParameters>]
|
||||
PS> ./cd-videos.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./cd-videos
|
||||
📂C:\Users\Markus\Videos
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -46,9 +52,7 @@ try {
|
||||
} else {
|
||||
$Path = [Environment]::GetFolderPath('MyVideos')
|
||||
}
|
||||
if (-not(Test-Path "$Path" -pathType container)) {
|
||||
throw "Videos folder at 📂$Path doesn't exist (yet)"
|
||||
}
|
||||
if (-not(Test-Path "$Path" -pathType container)) { throw "Videos folder at 📂$Path doesn't exist (yet)" }
|
||||
Set-Location "$Path"
|
||||
"📂$Path"
|
||||
exit 0 # success
|
||||
@ -58,4 +62,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of cd-videos.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-videos.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -1,30 +1,36 @@
|
||||
## The *cd-windows.ps1* Script
|
||||
*cd-windows.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script changes the working directory to the Windows directory.
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/cd-windows.ps1 [<CommonParameters>]
|
||||
PS> ./cd-windows.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./cd-windows
|
||||
📂C:\Windows
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -42,9 +48,7 @@ https://github.com/fleschutz/PowerShell
|
||||
|
||||
try {
|
||||
$Path = Resolve-Path "$env:WINDIR"
|
||||
if (-not(Test-Path "$Path" -pathType container)) {
|
||||
throw "Windows directory at 📂$Path doesn't exist"
|
||||
}
|
||||
if (-not(Test-Path "$Path" -pathType container)) { throw "Windows directory at 📂$Path doesn't exist" }
|
||||
Set-Location "$Path"
|
||||
"📂$Path"
|
||||
exit 0 # success
|
||||
@ -54,4 +58,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of cd-windows.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-windows.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -1,10 +1,12 @@
|
||||
## The *change-wallpaper.ps1* Script
|
||||
*change-wallpaper.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script downloads a random photo from Unsplash and sets it as desktop background.
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/change-wallpaper.ps1 [[-Category] <String>] [<CommonParameters>]
|
||||
PS> ./change-wallpaper.ps1 [[-Category] <String>] [<CommonParameters>]
|
||||
|
||||
-Category <String>
|
||||
Specifies the photo category (beach, city, ...)
|
||||
@ -20,19 +22,23 @@ This PowerShell script downloads a random photo from Unsplash and sets it as des
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./change-wallpaper
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -73,4 +79,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of change-wallpaper.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of change-wallpaper.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -1,30 +1,36 @@
|
||||
## The *check-apps.ps1* Script
|
||||
*check-apps.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script queries the application status and prints it.
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/check-apps.ps1 [<CommonParameters>]
|
||||
PS> ./check-apps.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-apps
|
||||
PS> ./check-apps.ps1
|
||||
✅ 119 apps installed, 11 upgrades available
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -32,7 +38,7 @@ https://github.com/fleschutz/PowerShell
|
||||
.DESCRIPTION
|
||||
This PowerShell script queries the application status and prints it.
|
||||
.EXAMPLE
|
||||
PS> ./check-apps
|
||||
PS> ./check-apps.ps1
|
||||
✅ 119 apps installed, 11 upgrades available
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
@ -42,7 +48,8 @@ https://github.com/fleschutz/PowerShell
|
||||
|
||||
try {
|
||||
if ($IsLinux) {
|
||||
# TODO
|
||||
$NumSnaps = (snap list).Count - 1
|
||||
Write-Host "✅ $($NumSnaps) snaps installed"
|
||||
} else {
|
||||
Write-Progress "⏳ Querying installed apps and updates..."
|
||||
$Apps = Get-AppxPackage
|
||||
@ -65,4 +72,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of check-apps.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-apps.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -1,30 +1,36 @@
|
||||
## The *check-battery.ps1* Script
|
||||
*check-battery.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script queries the status of the system battery and prints it.
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/check-battery.ps1 [<CommonParameters>]
|
||||
PS> ./check-battery.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-battery
|
||||
✅ 21% battery life, 54 min remaining
|
||||
PS> ./check-battery.ps1
|
||||
⚠️ Battery 9% low, 54 min remaining
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -32,8 +38,8 @@ https://github.com/fleschutz/PowerShell
|
||||
.DESCRIPTION
|
||||
This PowerShell script queries the status of the system battery and prints it.
|
||||
.EXAMPLE
|
||||
PS> ./check-battery
|
||||
✅ 21% battery life, 54 min remaining
|
||||
PS> ./check-battery.ps1
|
||||
⚠️ Battery 9% low, 54 min remaining
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -48,28 +54,31 @@ try {
|
||||
$Details = [System.Windows.Forms.SystemInformation]::PowerStatus
|
||||
[int]$Percent = 100 * $Details.BatteryLifePercent
|
||||
[int]$Remaining = $Details.BatteryLifeRemaining / 60
|
||||
switch ($Details.PowerLineStatus) {
|
||||
"Online" {
|
||||
if ($Details.PowerLineStatus -eq "Online") {
|
||||
if ($Details.BatteryChargeStatus -eq "NoSystemBattery") {
|
||||
$Reply = "✅ AC powered"
|
||||
} elseif ($Percent -eq 100) {
|
||||
$Reply = "✅ Battery $Percent% full"
|
||||
} elseif ($Percent -ge 95) {
|
||||
$Reply = "✅ Battery fully charged ($Percent%)"
|
||||
} else {
|
||||
$Reply = "✅ Battery $Percent%, charging..."
|
||||
$Reply = "✅ Battery charging... ($Percent%)"
|
||||
}
|
||||
}
|
||||
"Offline" {
|
||||
if ($Percent -eq 100) {
|
||||
$Reply = "✅ $Percent% full battery, $Remaining min remaining"
|
||||
} elseif ($Remaining -gt 30) {
|
||||
$Reply = "✅ $Percent% battery life, $Remaining min remaining"
|
||||
} else { # must be offline
|
||||
if ($Remaining -eq 0) {
|
||||
$Reply = "✅ Battery at $Percent%, calculating remaining time..."
|
||||
} elseif ($Remaining -le 5) {
|
||||
$Reply = "⚠️ Battery at $Percent%, ONLY $Remaining MIN remaining"
|
||||
} elseif ($Remaining -le 30) {
|
||||
$Reply = "⚠️ Battery at $Percent%, only $Remaining min remaining"
|
||||
} elseif ($Percent -lt 10) {
|
||||
$Reply = "⚠️ Battery $Percent% low, $Remaining min remaining"
|
||||
} elseif ($Percent -ge 80) {
|
||||
$Reply = "✅ Battery $Percent% full, $Remaining min remaining"
|
||||
} else {
|
||||
$Reply = "⚠️ $Percent% battery life, only $Remaining min remaining"
|
||||
$Reply = "✅ Battery at $Percent%, $Remaining min remaining"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Write-Host $Reply
|
||||
Write-Output $Reply
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
@ -77,4 +86,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of check-battery.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-battery.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -1,30 +1,36 @@
|
||||
## The *check-bios.ps1* Script
|
||||
*check-bios.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script queries the BIOS status and prints it.
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/check-bios.ps1 [<CommonParameters>]
|
||||
PS> ./check-bios.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-bios
|
||||
✅ BIOS F6 by American Megatrends Inc. (version ALASKA - 1072009, S/N NXA82EV0EBB0760)
|
||||
PS> ./check-bios.ps1
|
||||
✅ BIOS model F6 version ALASKA - 1072009 by American Megatrends Inc.
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -32,8 +38,8 @@ https://github.com/fleschutz/PowerShell
|
||||
.DESCRIPTION
|
||||
This PowerShell script queries the BIOS status and prints it.
|
||||
.EXAMPLE
|
||||
PS> ./check-bios
|
||||
✅ BIOS F6 by American Megatrends Inc. (version ALASKA - 1072009, S/N NXA82EV0EBB0760)
|
||||
PS> ./check-bios.ps1
|
||||
✅ BIOS model F6 version ALASKA - 1072009 by American Megatrends Inc.
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -42,24 +48,26 @@ https://github.com/fleschutz/PowerShell
|
||||
|
||||
try {
|
||||
if ($IsLinux) {
|
||||
Write-Progress "⏳ Querying BIOS..."
|
||||
Write-Progress "⏳ Querying BIOS details..."
|
||||
$Model = (sudo dmidecode -s system-product-name)
|
||||
if ("$Model" -ne "") {
|
||||
$Manufacturer = (sudo dmidecode -s system-manufacturer)
|
||||
$Version = (sudo dmidecode -s bios-version)
|
||||
$RelDate = (sudo dmidecode -s bios-release-date)
|
||||
Write-Host "✅ BIOS $Model by $Manufacturer ($Version release of $RelDate)"
|
||||
$Manufacturer = (sudo dmidecode -s system-manufacturer)
|
||||
Write-Host "✅ BIOS model $Model version $Version of $RelDate by $Manufacturer"
|
||||
}
|
||||
Write-Progress -completed "."
|
||||
} else {
|
||||
Write-Progress "⏳ Querying BIOS..."
|
||||
$BIOS = Get-CimInstance -ClassName Win32_BIOS
|
||||
$Model = $BIOS.Name.Trim()
|
||||
$Manufacturer = $BIOS.Manufacturer.Trim()
|
||||
$Serial = $BIOS.SerialNumber.Trim()
|
||||
$Version = $BIOS.Version.Trim()
|
||||
Write-Progress -completed "."
|
||||
Write-Host "✅ BIOS $Model by $Manufacturer (version $Version, S/N $Serial)"
|
||||
$Serial = $BIOS.SerialNumber.Trim()
|
||||
$Manufacturer = $BIOS.Manufacturer.Trim()
|
||||
if ($Serial -eq "To be filled by O.E.M.") {
|
||||
Write-Host "✅ BIOS model $Model version $Version by $Manufacturer"
|
||||
} else {
|
||||
Write-Host "✅ BIOS model $Model version $Version, S/N $Serial, by $Manufacturer"
|
||||
}
|
||||
}
|
||||
exit 0 # success
|
||||
} catch {
|
||||
@ -68,4 +76,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of check-bios.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-bios.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -1,26 +0,0 @@
|
||||
## check-christmas.ps1 - Checks the time until Christmas
|
||||
|
||||
This script checks the time until Christmas and replies by text-to-speech (TTS).
|
||||
|
||||
## Parameters
|
||||
```powershell
|
||||
check-christmas.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
```powershell
|
||||
PS> ./check-christmas
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Author: Markus Fleschutz · License: CC0
|
||||
|
||||
## Related Links
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of check-christmas.ps1*
|
@ -1,9 +1,11 @@
|
||||
## The *check-cpu.ps1* Script
|
||||
*check-cpu.ps1*
|
||||
================
|
||||
|
||||
check-cpu.ps1
|
||||
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
|
||||
|
||||
@ -12,7 +14,8 @@ check-cpu.ps1
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -20,7 +23,7 @@ check-cpu.ps1
|
||||
.DESCRIPTION
|
||||
This PowerShell script queries the CPU status and prints it (name, type, speed, temperature, etc).
|
||||
.EXAMPLE
|
||||
PS> ./check-cpu
|
||||
PS> ./check-cpu.ps1
|
||||
✅ AMD Ryzen 5 5500U with Radeon Graphics (CPU0, 2100MHz, 31.3°C)
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
@ -67,10 +70,10 @@ try {
|
||||
$Temp = "no temp"
|
||||
} elseif ($Celsius -gt 50) {
|
||||
$Temp = "$($Celsius)°C"
|
||||
$Status = "⚠"
|
||||
$Status = "⚠️"
|
||||
} elseif ($Celsius -lt 0) {
|
||||
$Temp = "$($Celsius)°C"
|
||||
$Status = "⚠"
|
||||
$Status = "⚠️"
|
||||
} else {
|
||||
$Temp = "$($Celsius)°C"
|
||||
}
|
||||
@ -100,4 +103,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of check-cpu.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-cpu.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -1,30 +1,36 @@
|
||||
## The *check-day.ps1* Script
|
||||
*check-day.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script determines and speaks the current day by text-to-speech (TTS).
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/check-day.ps1 [<CommonParameters>]
|
||||
PS> ./check-day.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-day
|
||||
✔️ It's Sunday.
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -51,4 +57,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of check-day.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-day.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -1,30 +1,36 @@
|
||||
## The *check-dns.ps1* Script
|
||||
*check-dns.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script measures and prints the DNS resolution speed by using 200 popular domains.
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/check-dns.ps1 [<CommonParameters>]
|
||||
PS> ./check-dns.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-dns
|
||||
PS> ./check-dns.ps1
|
||||
✅ DNS resolves 156.5 domains per second
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -32,7 +38,7 @@ https://github.com/fleschutz/PowerShell
|
||||
.DESCRIPTION
|
||||
This PowerShell script measures and prints the DNS resolution speed by using 200 popular domains.
|
||||
.EXAMPLE
|
||||
PS> ./check-dns
|
||||
PS> ./check-dns.ps1
|
||||
✅ DNS resolves 156.5 domains per second
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
@ -51,16 +57,14 @@ foreach($row in $table){$nop=dig $row.Domain +short}
|
||||
} else {
|
||||
foreach($row in $table){$nop=Resolve-DNSName $row.Domain}
|
||||
}
|
||||
Write-Progress -completed "."
|
||||
[float]$elapsed = $stopWatch.Elapsed.TotalSeconds
|
||||
|
||||
|
||||
$average = [math]::round($numRows / $elapsed, 1)
|
||||
if ($average -lt 10.0) {
|
||||
"⚠️ DNS resolves $average domains per second only!"
|
||||
Write-Output "⚠️ DNS resolves $average domains per second only"
|
||||
} else {
|
||||
"✅ DNS resolves $average domains per second"
|
||||
Write-Output "✅ DNS resolves $average domains per second"
|
||||
}
|
||||
Write-Progress -completed "."
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
@ -68,4 +72,4 @@ foreach($row in $table){$nop=Resolve-DNSName $row.Domain}
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of check-dns.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-dns.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -1,10 +1,12 @@
|
||||
## The *check-drive-space.ps1* Script
|
||||
*check-drive-space.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script checks a drive for free space left (20 GB by default).
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/check-drive-space.ps1 [[-Drive] <String>] [[-MinLevel] <Int32>] [<CommonParameters>]
|
||||
PS> ./check-drive-space.ps1 [[-Drive] <String>] [[-MinLevel] <Int32>] [<CommonParameters>]
|
||||
|
||||
-Drive <String>
|
||||
Specifies the drive to check
|
||||
@ -29,20 +31,24 @@ This PowerShell script checks a drive for free space left (20 GB by default).
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-drive-space C
|
||||
✔️ 172 GB left on drive C (61 of 233 GB used)
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -85,4 +91,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of check-drive-space.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-drive-space.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -1,10 +1,12 @@
|
||||
## The *check-drives.ps1* Script
|
||||
*check-drives.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script checks all drives for free space left.
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/check-drives.ps1 [[-MinLevel] <Int32>] [<CommonParameters>]
|
||||
PS> ./check-drives.ps1 [[-MinLevel] <Int32>] [<CommonParameters>]
|
||||
|
||||
-MinLevel <Int32>
|
||||
Specifies the minimum warning level (10 GB by default)
|
||||
@ -20,20 +22,24 @@ This PowerShell script checks all drives for free space left.
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-drives
|
||||
✅ C drive uses 87GB of 249GB
|
||||
PS> ./check-drives.ps1
|
||||
✅ Drive C: with 250GB at 10%, 225GB free
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -43,8 +49,8 @@ https://github.com/fleschutz/PowerShell
|
||||
.PARAMETER MinLevel
|
||||
Specifies the minimum warning level (10 GB by default)
|
||||
.EXAMPLE
|
||||
PS> ./check-drives
|
||||
✅ C drive uses 87GB of 249GB
|
||||
PS> ./check-drives.ps1
|
||||
✅ Drive C: with 250GB at 10%, 225GB free
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -72,24 +78,27 @@ function Bytes2String { param([int64]$Bytes)
|
||||
try {
|
||||
Write-Progress "⏳ Querying drives..."
|
||||
$Drives = Get-PSDrive -PSProvider FileSystem
|
||||
Write-Progress -completed "done."
|
||||
Write-Progress -completed "."
|
||||
foreach($Drive in $Drives) {
|
||||
$ID = $Drive.Name
|
||||
$Details = (Get-PSDrive $ID)
|
||||
$Details = (Get-PSDrive $Drive.Name)
|
||||
if ($IsLinux) { $ID = $Drive.Name } else { $ID = $Drive.Name + ":" }
|
||||
[int64]$Free = $Details.Free
|
||||
[int64]$Used = $Details.Used
|
||||
[int64]$Total = ($Used + $Free)
|
||||
|
||||
if ($Total -eq 0) {
|
||||
Write-Host "✅ $ID drive is empty"
|
||||
Write-Host "✅ Drive $ID is empty"
|
||||
} elseif ($Free -eq 0) {
|
||||
Write-Host "⚠️ $ID drive with $(Bytes2String $Total) is full!"
|
||||
Write-Host "⚠️ Drive $ID with $(Bytes2String $Total) is 100% full"
|
||||
} elseif ($Free -lt $MinLevel) {
|
||||
Write-Host "⚠️ $ID drive with $(Bytes2String $Total) is nearly full ($(Bytes2String $Free) free)!"
|
||||
} elseif ($Used -lt $Free) {
|
||||
Write-Host "✅ $ID drive uses $(Bytes2String $Used) of $(Bytes2String $Total)"
|
||||
Write-Host "⚠️ Drive $ID with $(Bytes2String $Total) is nearly full, $(Bytes2String $Free) free"
|
||||
} else {
|
||||
Write-Host "✅ $ID drive has $(Bytes2String $Free) of $(Bytes2String $Total) free"
|
||||
[int]$Percent = ($Used * 100) / $Total
|
||||
if ($Percent -gt 90) {
|
||||
Write-Host "✅ Drive $ID with $(Bytes2String $Total) is $Percent% full, $(Bytes2String $Free) free"
|
||||
} else {
|
||||
Write-Host "✅ Drive $ID with $(Bytes2String $Total) at $Percent%, $(Bytes2String $Free) free"
|
||||
}
|
||||
}
|
||||
}
|
||||
exit 0 # success
|
||||
@ -99,4 +108,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of check-drives.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-drives.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -1,9 +1,11 @@
|
||||
## The *check-dusk.ps1* Script
|
||||
*check-dusk.ps1*
|
||||
================
|
||||
|
||||
check-dusk.ps1
|
||||
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
|
||||
|
||||
@ -12,7 +14,8 @@ check-dusk.ps1
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -20,7 +23,8 @@ check-dusk.ps1
|
||||
.DESCRIPTION
|
||||
This PowerShell script queries the time of dusk and answers by text-to-speech (TTS).
|
||||
.EXAMPLE
|
||||
PS> ./check-dusk
|
||||
PS> ./check-dusk.ps1
|
||||
Dusk is in 2 hours at 8 PM.
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -51,7 +55,7 @@ try {
|
||||
$TimeSpan = TimeSpanToString($Now - $Dusk)
|
||||
$Reply = "Dusk was $TimeSpan ago at $($Dusk.ToShortTimeString())."
|
||||
}
|
||||
& "$PSScriptRoot/speak-english.ps1" "$Reply"
|
||||
Write-Output $Reply
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
@ -59,4 +63,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of check-dusk.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-dusk.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -1,29 +1,35 @@
|
||||
## The *check-easter-sunday.ps1* Script
|
||||
*check-easter-sunday.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script checks the time until Easter Sunday and replies by text-to-speech (TTS).
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/check-easter-sunday.ps1 [<CommonParameters>]
|
||||
PS> ./check-easter-sunday.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-easter-sunday
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -55,4 +61,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of check-easter-sunday.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-easter-sunday.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -1,10 +1,12 @@
|
||||
## The *check-file-system.ps1* Script
|
||||
*check-file-system.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script checks the file system of a drive. It needs admin rights.
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/check-file-system.ps1 [[-Drive] <String>] [<CommonParameters>]
|
||||
PS> ./check-file-system.ps1 [[-Drive] <String>] [<CommonParameters>]
|
||||
|
||||
-Drive <String>
|
||||
Specifies the drive to check
|
||||
@ -20,20 +22,24 @@ This PowerShell script checks the file system of a drive. It needs admin rights.
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-file-system C
|
||||
✔️ file system on drive C is clean
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -69,4 +75,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of check-file-system.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-file-system.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -1,10 +1,12 @@
|
||||
## The *check-file.ps1* Script
|
||||
*check-file.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script determines and prints the file type of the given file.
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/check-file.ps1 [[-Path] <String>] [<CommonParameters>]
|
||||
PS> ./check-file.ps1 [[-Path] <String>] [<CommonParameters>]
|
||||
|
||||
-Path <String>
|
||||
Specifies the path to the file
|
||||
@ -20,19 +22,23 @@ This PowerShell script determines and prints the file type of the given file.
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-file C:\my.exe
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -164,4 +170,4 @@ function Check-Header { param( $path )
|
||||
Check-Header $Path
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of check-file.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-file.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -1,30 +1,36 @@
|
||||
## The *check-firewall.ps1* Script
|
||||
*check-firewall.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script queries the status of the firewall and prints it.
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/check-firewall.ps1 [<CommonParameters>]
|
||||
PS> ./check-firewall.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-firewall
|
||||
PS> ./check-firewall.ps1
|
||||
✅ Firewall enabled
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -32,7 +38,7 @@ https://github.com/fleschutz/PowerShell
|
||||
.DESCRIPTION
|
||||
This PowerShell script queries the status of the firewall and prints it.
|
||||
.EXAMPLE
|
||||
PS> ./check-firewall
|
||||
PS> ./check-firewall.ps1
|
||||
✅ Firewall enabled
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
@ -59,4 +65,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of check-firewall.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-firewall.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -1,9 +1,11 @@
|
||||
## The *check-gpu.ps1* Script
|
||||
*check-gpu.ps1*
|
||||
================
|
||||
|
||||
check-gpu.ps1
|
||||
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
|
||||
|
||||
@ -12,7 +14,8 @@ check-gpu.ps1
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -20,7 +23,7 @@ check-gpu.ps1
|
||||
.DESCRIPTION
|
||||
This PowerShell script queries the GPU status and prints it.
|
||||
.EXAMPLE
|
||||
PS> ./check-gpu
|
||||
PS> ./check-gpu.ps1
|
||||
✅ NVIDIA Quadro P400 GPU (2GB RAM, 3840x2160 pixels, 32 bit, 59 Hz, driver 31.0.15.1740, status OK)
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
@ -62,4 +65,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of check-gpu.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-gpu.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
66
Docs/check-hardware.md
Normal file
66
Docs/check-hardware.md
Normal file
@ -0,0 +1,66 @@
|
||||
*check-hardware.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script queries the hardware details of the local computer and prints it.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
PS> ./check-hardware.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-hardware.ps1
|
||||
|
||||
H A R D W A R E
|
||||
✅ Intel(R) Core(TM) i5-6400 CPU @ 2.70GHz (CPU0, 2701MHz, socket U3E1, 30.1°C)
|
||||
...
|
||||
|
||||
```
|
||||
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Checks the hardware
|
||||
.DESCRIPTION
|
||||
This PowerShell script queries the hardware details of the local computer and prints it.
|
||||
.EXAMPLE
|
||||
PS> ./check-hardware.ps1
|
||||
|
||||
H A R D W A R E
|
||||
✅ Intel(R) Core(TM) i5-6400 CPU @ 2.70GHz (CPU0, 2701MHz, socket U3E1, 30.1°C)
|
||||
...
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
" "
|
||||
& "$PSScriptRoot/write-green.ps1" " H A R D W A R E"
|
||||
& "$PSScriptRoot/check-cpu.ps1"
|
||||
& "$PSScriptRoot/check-ram.ps1"
|
||||
& "$PSScriptRoot/check-gpu.ps1"
|
||||
& "$PSScriptRoot/check-smart-devices.ps1"
|
||||
& "$PSScriptRoot/check-drives.ps1"
|
||||
& "$PSScriptRoot/check-battery.ps1"
|
||||
exit 0 # success
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-hardware.ps1 as of 08/06/2023 21:36:05)*
|
@ -1,40 +1,48 @@
|
||||
## The *check-health.ps1* Script
|
||||
*check-health.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script checks and prints the system health of the local computer.
|
||||
This PowerShell script queries the system health of the local computer (hardware, software, and network) and prints it.
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/check-health.ps1 [<CommonParameters>]
|
||||
PS> ./check-health.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-health
|
||||
PS> ./check-health.ps1
|
||||
|
||||
H A R D W A R E
|
||||
✅ Intel(R) Core(TM) i5-6400 CPU @ 2.70GHz (CPU0, 2701MHz, socket U3E1, 30.1°C)
|
||||
...
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Checks the system health
|
||||
.DESCRIPTION
|
||||
This PowerShell script checks and prints the system health of the local computer.
|
||||
This PowerShell script queries the system health of the local computer (hardware, software, and network) and prints it.
|
||||
.EXAMPLE
|
||||
PS> ./check-health
|
||||
PS> ./check-health.ps1
|
||||
|
||||
H A R D W A R E
|
||||
✅ Intel(R) Core(TM) i5-6400 CPU @ 2.70GHz (CPU0, 2701MHz, socket U3E1, 30.1°C)
|
||||
...
|
||||
@ -44,31 +52,10 @@ https://github.com/fleschutz/PowerShell
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
" "
|
||||
& "$PSScriptRoot/write-green.ps1" " H A R D W A R E"
|
||||
& "$PSScriptRoot/check-cpu.ps1"
|
||||
& "$PSScriptRoot/check-ram.ps1"
|
||||
& "$PSScriptRoot/check-gpu.ps1"
|
||||
& "$PSScriptRoot/check-smart-devices.ps1"
|
||||
& "$PSScriptRoot/check-drives.ps1"
|
||||
& "$PSScriptRoot/check-battery.ps1"
|
||||
" "
|
||||
& "$PSScriptRoot/write-green.ps1" " S O F T W A R E"
|
||||
& "$PSScriptRoot/check-bios.ps1"
|
||||
& "$PSScriptRoot/check-os.ps1"
|
||||
& "$PSScriptRoot/check-powershell.ps1"
|
||||
& "$PSScriptRoot/check-apps.ps1"
|
||||
& "$PSScriptRoot/check-uptime.ps1"
|
||||
& "$PSScriptRoot/check-time-zone.ps1"
|
||||
& "$PSScriptRoot/check-swap-space.ps1"
|
||||
& "$PSScriptRoot/check-pending-reboot.ps1"
|
||||
" "
|
||||
& "$PSScriptRoot/write-green.ps1" " N E T W O R K"
|
||||
& "$PSScriptRoot/check-firewall"
|
||||
& "$PSScriptRoot/check-ping.ps1"
|
||||
& "$PSScriptRoot/check-dns.ps1"
|
||||
& "$PSScriptRoot/check-vpn.ps1"
|
||||
& "$PSScriptRoot/check-hardware.ps1"
|
||||
& "$PSScriptRoot/check-software.ps1"
|
||||
& "$PSScriptRoot/check-network.ps1"
|
||||
exit 0 # success
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of check-health.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-health.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -1,29 +1,35 @@
|
||||
## The *check-independence-day.ps1* Script
|
||||
*check-independence-day.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script checks the time until Indepence Day and replies by text-to-speech (TTS).
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/check-independence-day.ps1 [<CommonParameters>]
|
||||
PS> ./check-independence-day.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-independence-day
|
||||
PS> ./check-independence-day.ps1
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -31,7 +37,7 @@ https://github.com/fleschutz/PowerShell
|
||||
.DESCRIPTION
|
||||
This PowerShell script checks the time until Indepence Day and replies by text-to-speech (TTS).
|
||||
.EXAMPLE
|
||||
PS> ./check-independence-day
|
||||
PS> ./check-independence-day.ps1
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -55,4 +61,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of check-independence-day.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-independence-day.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
67
Docs/check-ip.md
Normal file
67
Docs/check-ip.md
Normal file
@ -0,0 +1,67 @@
|
||||
*check-ip.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script queries the public IP address and prints it.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
PS> ./check-ip.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-ip.ps1
|
||||
✅ Public IPv4 185.77.209.161, IPv6 2003:f2:6128:fc01:e503:601:30c2:a028 near Munich
|
||||
|
||||
```
|
||||
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Checks the IP address
|
||||
.DESCRIPTION
|
||||
This PowerShell script queries the public IP address and prints it.
|
||||
.EXAMPLE
|
||||
PS> ./check-ip.ps1
|
||||
✅ Public IPv4 185.77.209.161, IPv6 2003:f2:6128:fc01:e503:601:30c2:a028 near Munich
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
try {
|
||||
if ($IsLinux) {
|
||||
$PublicIPv4 = (curl -4 --silent ifconfig.co)
|
||||
$PublicIPv6 = (curl -6 --silent ifconfig.co)
|
||||
$City = (curl --silent ifconfig.co/city)
|
||||
} else {
|
||||
$PublicIPv4 = (curl.exe -4 --silent ifconfig.co)
|
||||
$PublicIPv6 = (curl.exe -6 --silent ifconfig.co)
|
||||
$City = (curl.exe --silent ifconfig.co/city)
|
||||
}
|
||||
Write-Output "✅ Public IPv4 $PublicIPv4, IPv6 $PublicIPv6 near $City"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-ip.ps1 as of 08/06/2023 21:36:06)*
|
@ -1,10 +1,12 @@
|
||||
## The *check-ipv4-address.ps1* Script
|
||||
*check-ipv4-address.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script checks the given IPv4 address for validity.
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/check-ipv4-address.ps1 [[-Address] <String>] [<CommonParameters>]
|
||||
PS> ./check-ipv4-address.ps1 [[-Address] <String>] [<CommonParameters>]
|
||||
|
||||
-Address <String>
|
||||
Specifies the IPv4 address to check
|
||||
@ -20,20 +22,24 @@ This PowerShell script checks the given IPv4 address for validity.
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-ipv4-address 192.168.11.22
|
||||
✔️ IPv4 192.168.11.22 is valid
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -78,4 +84,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of check-ipv4-address.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-ipv4-address.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -1,10 +1,12 @@
|
||||
## The *check-ipv6-address.ps1* Script
|
||||
*check-ipv6-address.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script checks the given IPv6 address for validity
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/check-ipv6-address.ps1 [[-Address] <String>] [<CommonParameters>]
|
||||
PS> ./check-ipv6-address.ps1 [[-Address] <String>] [<CommonParameters>]
|
||||
|
||||
-Address <String>
|
||||
Specifies the IPv6 address to check
|
||||
@ -20,20 +22,24 @@ This PowerShell script checks the given IPv6 address for validity
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-ipv6-address fe80::200:5aee:feaa:20a2
|
||||
✔️ IPv6 fe80::200:5aee:feaa:20a2 is valid
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -92,4 +98,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of check-ipv6-address.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-ipv6-address.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -1,29 +1,35 @@
|
||||
## The *check-iss-position.ps1* Script
|
||||
*check-iss-position.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script queries the position of the International Space Station (ISS) and replies by text-to-speech (TTS).
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/check-iss-position.ps1 [<CommonParameters>]
|
||||
PS> ./check-iss-position.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-iss-position
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -49,4 +55,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of check-iss-position.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-iss-position.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -1,11 +1,13 @@
|
||||
## The *check-mac-address.ps1* Script
|
||||
*check-mac-address.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script checks the given MAC address for validity
|
||||
Supported MAC address formats are: 00:00:00:00:00:00 or 00-00-00-00-00-00 or 000000000000.
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/check-mac-address.ps1 [[-MAC] <String>] [<CommonParameters>]
|
||||
PS> ./check-mac-address.ps1 [[-MAC] <String>] [<CommonParameters>]
|
||||
|
||||
-MAC <String>
|
||||
Specifies the MAC address to check
|
||||
@ -21,20 +23,24 @@ Supported MAC address formats are: 00:00:00:00:00:00 or 00-00-00-00-00-00 or 000
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-mac-address 11:22:33:44:55:66
|
||||
✔️ MAC address 11:22:33:44:55:66 is valid
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -81,4 +87,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of check-mac-address.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-mac-address.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -1,9 +1,11 @@
|
||||
## The *check-midnight.ps1* Script
|
||||
*check-midnight.ps1*
|
||||
================
|
||||
|
||||
check-midnight.ps1
|
||||
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
|
||||
|
||||
@ -12,7 +14,8 @@ check-midnight.ps1
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -57,4 +60,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of check-midnight.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-midnight.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -1,30 +1,36 @@
|
||||
## The *check-month.ps1* Script
|
||||
*check-month.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script determines and speaks the current month name by text-to-speech (TTS).
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/check-month.ps1 [<CommonParameters>]
|
||||
PS> ./check-month.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-month
|
||||
✔️ It's December.
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -51,4 +57,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of check-month.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-month.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -1,29 +1,35 @@
|
||||
## The *check-moon-phase.ps1* Script
|
||||
*check-moon-phase.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script determines the Moon phase and answers by text-to-speech (TTS).
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/check-moon-phase.ps1 [<CommonParameters>]
|
||||
PS> ./check-moon-phase.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-moon-phase
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -70,4 +76,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of check-moon-phase.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-moon-phase.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
67
Docs/check-network.md
Normal file
67
Docs/check-network.md
Normal file
@ -0,0 +1,67 @@
|
||||
*check-network.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script queries the network details of the local computer and prints it.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
PS> ./check-network.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-network.ps1
|
||||
|
||||
|
||||
|
||||
N E T W O R K
|
||||
✅ Firewall enabled
|
||||
...
|
||||
|
||||
```
|
||||
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Checks the network details
|
||||
.DESCRIPTION
|
||||
This PowerShell script queries the network details of the local computer and prints it.
|
||||
.EXAMPLE
|
||||
PS> ./check-network.ps1
|
||||
|
||||
N E T W O R K
|
||||
✅ Firewall enabled
|
||||
...
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
" "
|
||||
& "$PSScriptRoot/write-green.ps1" " N E T W O R K"
|
||||
& "$PSScriptRoot/check-firewall"
|
||||
& "$PSScriptRoot/check-ping.ps1"
|
||||
& "$PSScriptRoot/check-dns.ps1"
|
||||
& "$PSScriptRoot/check-vpn.ps1"
|
||||
& "$PSScriptRoot/check-ip.ps1"
|
||||
exit 0 # success
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-network.ps1 as of 08/06/2023 21:36:06)*
|
@ -1,29 +1,35 @@
|
||||
## The *check-new-year.ps1* Script
|
||||
*check-new-year.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script checks the time until New Year and replies by text-to-speech (TTS).
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/check-new-year.ps1 [<CommonParameters>]
|
||||
PS> ./check-new-year.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-new-year
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -54,4 +60,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of check-new-year.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-new-year.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -1,9 +1,11 @@
|
||||
## The *check-noon.ps1* Script
|
||||
*check-noon.ps1*
|
||||
================
|
||||
|
||||
check-noon.ps1
|
||||
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
|
||||
|
||||
@ -12,7 +14,8 @@ check-noon.ps1
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -56,4 +59,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of check-noon.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-noon.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -1,30 +1,36 @@
|
||||
## The *check-os.ps1* Script
|
||||
*check-os.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script queries the operating system status and prints it.
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/check-os.ps1 [<CommonParameters>]
|
||||
PS> ./check-os.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-os
|
||||
PS> ./check-os.ps1
|
||||
✅ Windows 10 Pro 64-bit (v10.0.19045, since 6/22/2021, S/N 00123-45678-15135-AAOEM, P/K AB123-CD456-EF789-GH000-WFR6P)
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -32,7 +38,7 @@ https://github.com/fleschutz/PowerShell
|
||||
.DESCRIPTION
|
||||
This PowerShell script queries the operating system status and prints it.
|
||||
.EXAMPLE
|
||||
PS> ./check-os
|
||||
PS> ./check-os.ps1
|
||||
✅ Windows 10 Pro 64-bit (v10.0.19045, since 6/22/2021, S/N 00123-45678-15135-AAOEM, P/K AB123-CD456-EF789-GH000-WFR6P)
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
@ -67,4 +73,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of check-os.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-os.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -1,29 +1,36 @@
|
||||
## The *check-outlook.ps1* Script
|
||||
*check-outlook.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script checks the inbox of Outlook for new/unread mails.
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/check-outlook.ps1 [<CommonParameters>]
|
||||
PS> ./check-outlook.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-outlook
|
||||
PS> ./check-outlook.ps1
|
||||
✅ No new mails.
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -31,7 +38,8 @@ https://github.com/fleschutz/PowerShell
|
||||
.DESCRIPTION
|
||||
This PowerShell script checks the inbox of Outlook for new/unread mails.
|
||||
.EXAMPLE
|
||||
PS> ./check-outlook
|
||||
PS> ./check-outlook.ps1
|
||||
✅ No new mails.
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -57,4 +65,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of check-outlook.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-outlook.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -1,10 +1,12 @@
|
||||
## The *check-password.ps1* Script
|
||||
*check-password.ps1*
|
||||
================
|
||||
|
||||
This PowerShell script checks the security status of the given password by haveibeenpwned.com
|
||||
|
||||
## Parameters
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
/home/mf/Repos/PowerShell/Scripts/check-password.ps1 [[-password] <String>] [<CommonParameters>]
|
||||
PS> ./check-password.ps1 [[-password] <String>] [<CommonParameters>]
|
||||
|
||||
-password <String>
|
||||
|
||||
@ -19,20 +21,24 @@ This PowerShell script checks the security status of the given password by havei
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
## Example
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-password qwerty
|
||||
⚠️ Bad password, it's already listed in 10584568 known security breaches!
|
||||
|
||||
```
|
||||
|
||||
## Notes
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
## Related Links
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
## Source Code
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
@ -77,7 +83,7 @@ try {
|
||||
if ($password -eq "") { $password = Read-Host "Enter the password" }
|
||||
$NumBreaches = Get-PasswordPwnCount $password
|
||||
if ($NumBreaches -eq 0) {
|
||||
"👍 Password seems good, it's not listed in any known security breach (as of today)"
|
||||
"👍 Password seems good, it's not listed in any known security breach as of today."
|
||||
} else {
|
||||
"⚠️ Bad password, it's listed already in $NumBreaches known security breaches!"
|
||||
}
|
||||
@ -88,4 +94,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*Generated by convert-ps2md.ps1 using the comment-based help of check-password.ps1*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-password.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user