mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-07-04 14:40:05 +02:00
Compare commits
435 Commits
Author | SHA1 | Date | |
---|---|---|---|
370e08c2d9 | |||
0eb30f5c64 | |||
586b925df5 | |||
95fdf740cf | |||
2140380f24 | |||
476ce9544f | |||
81f89c9484 | |||
5ad6815eba | |||
de29c358db | |||
3d31f68b4b | |||
03d931f4e8 | |||
74abe7ce45 | |||
391c93f9d5 | |||
b24233e4b7 | |||
29a8c968f8 | |||
52b42420f7 | |||
98193700a9 | |||
19d3eefe57 | |||
d60539608b | |||
19bcaa9e3d | |||
e3672038e5 | |||
5f2db88dc3 | |||
db1d2dd871 | |||
6c6587eed3 | |||
2633d10a3b | |||
cb99fcafb8 | |||
aea81c9ce5 | |||
2a927db6ed | |||
84e99a2857 | |||
a7b7bb8d1e | |||
6edf5cc843 | |||
53345ebdcf | |||
4908e13746 | |||
349c19a5c5 | |||
4027d6149d | |||
5e2b19c7f3 | |||
d8ebaae190 | |||
0cbe8e69c4 | |||
3399b4a6df | |||
1401302301 | |||
09eb3d1808 | |||
b3cdf19f4a | |||
b4997ff74b | |||
1962759708 | |||
792f4192df | |||
0defed2875 | |||
c623ffdb06 | |||
c895894c10 | |||
4abee2a2ac | |||
17ca5ec974 | |||
0d3cef0a89 | |||
3add3bef6b | |||
3582303033 | |||
4da060321f | |||
c053eeafa5 | |||
5febddcaf5 | |||
a4fa175203 | |||
6683e179fc | |||
7bc0509211 | |||
7d247e379f | |||
d0a492bcf4 | |||
074d98bc9a | |||
678f50e2a7 | |||
6b09062dca | |||
35e3d05ae7 | |||
000cea967a | |||
c35fcd8ea0 | |||
257c2c3d82 | |||
f027e1f914 | |||
4535c4aa2d | |||
246d829014 | |||
1e8c6ba757 | |||
67dc2a2d41 | |||
315ef40d6f | |||
9e9c94ea71 | |||
a343594ab0 | |||
e7eeeb06fe | |||
7105ba31ec | |||
a21e7542a7 | |||
c37bf0e1e1 | |||
9690e65de6 | |||
c5ad5a7141 | |||
14eeec7f6a | |||
7c366db69d | |||
46fb669b49 | |||
ae1cd750dc | |||
af3fffb4dd | |||
ea112a42bd | |||
37fb994ed5 | |||
be820bb0cf | |||
ec33cb8829 | |||
3ea90eaf4d | |||
17f8eea27f | |||
6f6886f88d | |||
7f08428442 | |||
28835cf13c | |||
03f3b98232 | |||
3cca0d75d9 | |||
ae470e0596 | |||
2e646cda41 | |||
d651aad0f8 | |||
225a1ae902 | |||
5873d0dc1c | |||
edc57b01ef | |||
1c43e33c11 | |||
58bba20351 | |||
3844dabba3 | |||
372ab71fc2 | |||
40410344cc | |||
957bbe4c52 | |||
b702577042 | |||
f5828c0012 | |||
96d7b5a6b8 | |||
3a1a27a9c2 | |||
37c70be932 | |||
f61be1226a | |||
8cb81aadac | |||
8928a3bce4 | |||
107c95797f | |||
3229661233 | |||
2f133c63d9 | |||
ef6d75f1ef | |||
2d7714c242 | |||
e936628a1b | |||
a5c2ef51b7 | |||
db7869073b | |||
44806675e2 | |||
03439d35e6 | |||
763c6d2108 | |||
49e594032f | |||
d760076d39 | |||
357d021685 | |||
d07a4e21bb | |||
a89353b35f | |||
9c2bcc5861 | |||
a0f0ed7814 | |||
5390e1fa70 | |||
72b8c58768 | |||
e36021f3b2 | |||
c6929fc266 | |||
37075acd8c | |||
fc487f5f3d | |||
0a56175e54 | |||
f1ba19a6ad | |||
ec7d84b0e0 | |||
0fecf9ce78 | |||
6c02b5719d | |||
49b529496a | |||
784ebdcf31 | |||
ffe40c394d | |||
5c18bf5bb8 | |||
cead884c64 | |||
c8bc801efa | |||
8c780998b6 | |||
3f0ddc41a0 | |||
7ff53658fd | |||
9cee4a13f0 | |||
1540f7cae0 | |||
7e4b4e06ce | |||
f896e880a3 | |||
b2bb0b8ca1 | |||
fdc496d115 | |||
a03a57e3ef | |||
6c86abdd6f | |||
a2061269ab | |||
068c711b94 | |||
13244e37fe | |||
eb8ba5bdfc | |||
09475addd4 | |||
87c5d59442 | |||
da0f05e82d | |||
712dca92db | |||
2c4400f327 | |||
6fda26dc5d | |||
46235b0aa0 | |||
ac144d3f3d | |||
1238ebf8c6 | |||
c023128895 | |||
42fe21f747 | |||
9e1156e90e | |||
32927260bd | |||
a3331f5172 | |||
ba6f1594c8 | |||
33ef92d879 | |||
efe4a2c6b4 | |||
6d9350cb23 | |||
5b23315a12 | |||
af9230f474 | |||
cfb2ea1fa9 | |||
3186552960 | |||
1409e438c6 | |||
58d351c539 | |||
962d7d00b6 | |||
be9a93de82 | |||
8b2de68df7 | |||
5ce045ca3d | |||
3e948575ba | |||
3edd43899a | |||
82140ddc32 | |||
73a3b6b65c | |||
82156d8fe6 | |||
cb845c54d3 | |||
9cf0ecacb3 | |||
f1a20bc962 | |||
4c19a92220 | |||
c5432f1708 | |||
76ae519408 | |||
0cae40f435 | |||
1d560f756c | |||
78ceb4bd18 | |||
982debb892 | |||
86c15a6982 | |||
a5aa63615d | |||
e796bae7cb | |||
1a0daf2109 | |||
7841c95ad7 | |||
ece41fa2e9 | |||
64bcdee5e8 | |||
587732eb3f | |||
9d13880be5 | |||
88e0868a4c | |||
4298dd8d73 | |||
f9540908c2 | |||
067052251a | |||
e481bfbed4 | |||
8e7948cabe | |||
263a9017cd | |||
25b005741b | |||
500cc561d9 | |||
ced658f427 | |||
b4e09055d9 | |||
94fba89c8f | |||
dca5793418 | |||
2e941ce36e | |||
1081db300f | |||
7069c2c31b | |||
36f9723a1d | |||
754856e667 | |||
1aca3e811a | |||
9063f34652 | |||
98446c5cad | |||
28c533d906 | |||
9975e36aba | |||
15a764c5a5 | |||
8b3715935d | |||
36083d8eb3 | |||
7e774853fc | |||
0e47423514 | |||
58ad940288 | |||
6216c17011 | |||
2b6b3dc32e | |||
724da873d2 | |||
647206ee13 | |||
1ed0d1c6a0 | |||
94ae6256ea | |||
98e8d758a1 | |||
4af826c741 | |||
cf88f21ebc | |||
829c22d3fb | |||
de90e60b2e | |||
c70b993747 | |||
395dac8b8c | |||
6e6974ec08 | |||
63ffa48dc4 | |||
54844ed993 | |||
c1a010f016 | |||
ca3a9dd069 | |||
06bf9e3d8e | |||
e74c9f1010 | |||
db0169521b | |||
ebc5a65388 | |||
e811bcb410 | |||
d169de2298 | |||
fcbbf0fd23 | |||
9fd63dbb30 | |||
6b2abf3103 | |||
bdc4cb1002 | |||
390b5ffe71 | |||
3c530df89f | |||
2917a123ac | |||
8aeeb8b811 | |||
4f57fbe3b2 | |||
de784e4cdc | |||
c54e4b0184 | |||
89c7bd290a | |||
17f1c85af2 | |||
8136a01507 | |||
0ca0bcf2d7 | |||
30ebcd6d87 | |||
5970d07a8d | |||
f93ff94b3b | |||
2301e9a226 | |||
5fb74da197 | |||
a32ea8de6b | |||
e35144cc6b | |||
b59180604f | |||
1773df817c | |||
d29e7e566d | |||
9682acba86 | |||
e6e15387aa | |||
f957853a67 | |||
703dc74368 | |||
df28fd7105 | |||
2a0e6abb6f | |||
330acc8257 | |||
5d625316a5 | |||
7252e2a4c5 | |||
fab7a776fe | |||
62eef6a209 | |||
7c5a3c7353 | |||
fd1cf4ea6c | |||
28ee2a5a44 | |||
d47027e561 | |||
cc0fb6207b | |||
f316655358 | |||
e52d80980c | |||
e9f0f17180 | |||
6e27c12b46 | |||
186e209d09 | |||
430074a982 | |||
25ff52876c | |||
73d250a182 | |||
54635c32da | |||
53eb60baa3 | |||
6b9e8582a4 | |||
467332f0fe | |||
7a175c2a2e | |||
cd3ad88b65 | |||
cf34f7dae2 | |||
70ebba06ff | |||
e09c53bcc5 | |||
d72ffb9490 | |||
aff1f7acab | |||
c7d2f403a0 | |||
0ad1759cd5 | |||
1238f58800 | |||
a786175c4f | |||
1a7ef52e65 | |||
14d9e2de91 | |||
e16e7baac6 | |||
f0165acd8d | |||
312686d50f | |||
bb01ef8cf5 | |||
6419712ff2 | |||
b6e703d96e | |||
8a33a05610 | |||
73a3646ab7 | |||
c7cf0d2c44 | |||
0f4ff81b09 | |||
13695d0061 | |||
d3afc0335f | |||
07bd46d6d6 | |||
ce36877c69 | |||
7bc7da1b3b | |||
0cb4a67fd0 | |||
c53f608eba | |||
1bb6efbc76 | |||
e13ac69220 | |||
8deb881f99 | |||
01a00dd30f | |||
13dd90ec4b | |||
7eb4972f99 | |||
3ae015a752 | |||
5214a504db | |||
2666f952af | |||
dd7054cf48 | |||
2396704564 | |||
aa7edea695 | |||
7a2dfa72ec | |||
01af86446e | |||
3d30f79176 | |||
49b8331361 | |||
435837b1cd | |||
b777d25888 | |||
1186432bb0 | |||
e2c03310dd | |||
04b04602ca | |||
70b216df8d | |||
2e67161917 | |||
e307b5c887 | |||
68680bb618 | |||
14d18e5890 | |||
34b569cbc7 | |||
7a056d76e3 | |||
53381691df | |||
6659468d18 | |||
fc66df1797 | |||
6085205764 | |||
8b019cb80e | |||
e5513eea5c | |||
4c394592aa | |||
3a59acc2b5 | |||
8d659757cb | |||
8186d08928 | |||
01d9659976 | |||
83d8d645ee | |||
3429ed7d90 | |||
59569a41c1 | |||
2a009f311f | |||
bd3b301072 | |||
c8a11f61bc | |||
9255f28823 | |||
464e17c449 | |||
c13e3c3dbd | |||
21e8911239 | |||
37177e83a6 | |||
ace08b19c6 | |||
305077d5cd | |||
702506f9a1 | |||
43b15cd1ef | |||
0d06931b74 | |||
b64d32990e | |||
a66aa8a009 | |||
dc4ee3c83e | |||
fa086893aa | |||
d957e3aba2 | |||
49072fdbaa | |||
b2413adad6 | |||
d01b5969eb | |||
fd963889d2 | |||
c43e787025 | |||
ea0e38f364 | |||
92c550e17d | |||
7618c3548c | |||
7229b3d980 | |||
a8bafada38 | |||
7e6b42352e | |||
db8e7e1766 | |||
fdeead2b52 | |||
c54f644f26 | |||
fb7ff43546 | |||
cfa917eb78 | |||
33e419ff5b | |||
cee7a19571 | |||
d1a6b3ff87 |
332
README.md
332
README.md
@ -1,94 +1,97 @@
|
|||||||
Mega Collection of PowerShell Scripts
|
Mega Collection of PowerShell Scripts
|
||||||
=====================================
|
=====================================
|
||||||
|
|
||||||
**Contains 500+ free and stand-alone PowerShell scripts for Linux, Mac OS, and Windows. Useful on the command-line, for remote control via SSH, for automation (e.g. [AutoHotkey](https://www.autohotkey.com/) or [Jenkins](https://www.jenkins.io/)), for context menus, for voice commands (e.g. [talk2windows](https://github.com/fleschutz/talk2windows)), automatically on startup/login/logoff/daily/shutdown/etc., or simply to learn PowerShell. All scripts are located in the 📂[scripts](scripts/) subfolder.**
|
**Contains 500+ free and stand-alone PowerShell scripts for Linux, Mac OS, and Windows. Useful on the command-line (CLI), for remote control via SSH, for automation (on startup/login/logoff/daily/hourly/shutdown or via AutoHotkey/Jenkins/etc.), for context menus, for voice commands (see [talk2windows](https://github.com/fleschutz/talk2windows)), or simply to learn PowerShell. All scripts are located in the 📂[scripts](scripts/) subfolder and support Unicode - a modern console like *Windows Terminal* is recommended.**
|
||||||
|
|
||||||
**[Download](https://github.com/fleschutz/PowerShell/releases) | [FAQ](docs/FAQ.md)** | **Note:** the scripts support Unicode - a modern console is recommended (e.g. *Windows Terminal*)
|
**[Download](https://github.com/fleschutz/PowerShell/releases) | [PowerShell FAQ](docs/FAQ.md) | [PowerShell Cheat Sheet](docs/cheat-sheet.md) | [PowerShell Documentation](https://docs.microsoft.com/en-us/powershell)**
|
||||||
|
|
||||||
🔊 Scripts for Audio & Voice
|
🔊 Scripts for Audio & Voice
|
||||||
-----------------------------
|
-----------------------------
|
||||||
|
|
||||||
| Script | Description |
|
| Script | Description |
|
||||||
| ---------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
|
| ---------------------------------------------------- | ----------------------------------------------------------------------------------------- |
|
||||||
| [list-voices.ps1](scripts/list-voices.ps1) | Lists the installed text-to-speech voices. [Read more »](docs/list-voices.md) |
|
| [list-voices.ps1](scripts/list-voices.ps1) | Lists the installed text-to-speech voices. [Read more »](docs/list-voices.md) |
|
||||||
| [play-beep-sound.ps1](scripts/play-beep-sound.ps1) | Plays a short beep sound. [Read more »](docs/play-beep-sound.md) |
|
| [play-beep-sound.ps1](scripts/play-beep-sound.ps1) | Plays a short beep sound. [More »](docs/play-beep-sound.md) |
|
||||||
| [play-files.ps1](scripts/play-files.ps1) | Plays the given audio files. [Read more »](docs/play-files.md) |
|
| [play-files.ps1](scripts/play-files.ps1) | Plays the given audio files. [More »](docs/play-files.md) |
|
||||||
| [play-happy-birthday.ps1](scripts/play-happy-birthday.ps1) | Plays the Happy Birthday song. [Read more »](docs/play-happy-birthday.md) |
|
| [play-happy-birthday.ps1](scripts/play-happy-birthday.ps1) | Plays the Happy Birthday song. [More »](docs/play-happy-birthday.md) |
|
||||||
| [play-imperial-march.ps1](scripts/play-imperial-march.ps1) | Plays the Imperial March (Star Wars). [Read more »](docs/play-imperial-march.md) |
|
| [play-imperial-march.ps1](scripts/play-imperial-march.ps1) | Plays the Imperial March (Star Wars). [More »](docs/play-imperial-march.md) |
|
||||||
| [play-jingle-bells.ps1](scripts/play-jingle-bells.ps1) | Plays Jingle Bells. [Read more »](docs/play-jingle-bells.md) |
|
| [play-jingle-bells.ps1](scripts/play-jingle-bells.ps1) | Plays Jingle Bells. [More »](docs/play-jingle-bells.md) |
|
||||||
| [play-mission-impossible.ps1](scripts/play-mission-impossible.ps1) | Plays the Mission Impossible theme. [Read more »](docs/play-mission-impossible.md)|
|
| [play-mission-impossible.ps1](scripts/play-mission-impossible.ps1) | Plays the Mission Impossible theme. [More »](docs/play-mission-impossible.md)|
|
||||||
| [play-m3u.ps1](scripts/play-m3u.ps1) | Plays the given M3U playlist. [Read more »](docs/play-m3u.md) |
|
| [play-m3u.ps1](scripts/play-m3u.ps1) | Plays the given M3U playlist. [More »](docs/play-m3u.md) |
|
||||||
| [play-mp3.ps1](scripts/play-mp3.ps1) | Plays the given MP3 sound file. [Read more »](docs/play-mp3.md) |
|
| [play-mp3.ps1](scripts/play-mp3.ps1) | Plays the given MP3 sound file. [More »](docs/play-mp3.md) |
|
||||||
| [play-super-mario.ps1](scripts/play-super-mario.ps1) | Plays the Super Mario intro. [Read more »](docs/play-super-mario.md) |
|
| [play-super-mario.ps1](scripts/play-super-mario.ps1) | Plays the Super Mario intro. [More »](docs/play-super-mario.md) |
|
||||||
| [play-tetris-melody.ps1](scripts/play-tetris-melody.ps1) | Plays the Tetris melody. [Read more »](docs/play-tetris-melody.md) |
|
| [play-tetris-melody.ps1](scripts/play-tetris-melody.ps1) | Plays the Tetris melody. [More »](docs/play-tetris-melody.md) |
|
||||||
| [speak-checklist.ps1](scripts/speak-checklist.ps1) | Speaks the given checklist by text-to-speech. [Read more »](docs/speak-checklist.md) |
|
| [speak-checklist.ps1](scripts/speak-checklist.ps1) | Speaks the given checklist by text-to-speech. [More »](docs/speak-checklist.md) |
|
||||||
| [speak-countdown.ps1](scripts/speak-countdown.ps1) | Speaks a countdown by text-to-speech. [Read more »](docs/speak-countdown.md) |
|
| [speak-countdown.ps1](scripts/speak-countdown.ps1) | Speaks a countdown by text-to-speech. [More »](docs/speak-countdown.md) |
|
||||||
| [speak-english.ps1](scripts/speak-english.ps1) | Speaks text with an English text-to-speech voice. [Read more »](docs/speak-english.md) |
|
| [speak-english.ps1](scripts/speak-english.ps1) | Speaks text with an English text-to-speech voice. [More »](docs/speak-english.md) |
|
||||||
| [speak-epub.ps1](scripts/speak-epub.ps1) | Speaks the content of the given Epub file by text-to-speech. [Read more »](docs/speak-epub.md) |
|
| [speak-epub.ps1](scripts/speak-epub.ps1) | Speaks the content of the given Epub file by text-to-speech. [More »](docs/speak-epub.md) |
|
||||||
| [speak-file.ps1](scripts/speak-file.ps1) | Speaks the content of the given text file by text-to-speech. [Read more »](docs/speak-file.md) |
|
| [speak-file.ps1](scripts/speak-file.ps1) | Speaks the content of the given text file by text-to-speech. [More »](docs/speak-file.md) |
|
||||||
| [speak-french.ps1](scripts/speak-french.ps1) | Speaks text with a French text-to-speech voice. [Read more »](docs/speak-french.md) |
|
| [speak-french.ps1](scripts/speak-french.ps1) | Speaks text with a French text-to-speech voice. [More »](docs/speak-french.md) |
|
||||||
| [speak-german.ps1](scripts/speak-german.ps1) | Speaks text with a German text-to-speech voice. [Read more »](docs/speak-german.md) |
|
| [speak-german.ps1](scripts/speak-german.ps1) | Speaks text with a German text-to-speech voice. [More »](docs/speak-german.md) |
|
||||||
| [speak-italian.ps1](scripts/speak-italian.ps1) | Speaks text with an Italian text-to-speech voice. [Read more »](docs/speak-italian.md) |
|
| [speak-italian.ps1](scripts/speak-italian.ps1) | Speaks text with an Italian text-to-speech voice. [More »](docs/speak-italian.md) |
|
||||||
| [speak-spanish.ps1](scripts/speak-spanish.ps1) | Speaks text with a Spanish text-to-speech voice. [Read more »](docs/speak-spanish.md) |
|
| [speak-spanish.ps1](scripts/speak-spanish.ps1) | Speaks text with a Spanish text-to-speech voice. [More »](docs/speak-spanish.md) |
|
||||||
| [speak-test.ps1](scripts/speak-test.ps1) | Performs a speak test by text-to-speech. [Read more »](docs/speak-test.md) |
|
| [speak-test.ps1](scripts/speak-test.ps1) | Performs a speak test by text-to-speech. [More »](docs/speak-test.md) |
|
||||||
| [speak-text.ps1](scripts/speak-text.ps1) | Speaks the given text by text-to-speech. [Read more »](docs/speak-text.md) |
|
| [speak-text.ps1](scripts/speak-text.ps1) | Speaks the given text by text-to-speech. [More »](docs/speak-text.md) |
|
||||||
| [tell-joke.ps1](scripts/tell-joke.ps1) | Tells a random joke by text-to-speech. [Read more »](docs/tell-joke.md) |
|
| [spell-word.ps1](scripts/spell-word.ps1) | Spells the given word by text-to-speech. [More »](docs/spell-word.md) |
|
||||||
| [tell-quote.ps1](scripts/tell-quote.ps1) | Tells a random quote by text-to-speech. [Read more »](docs/tell-quote.md) |
|
| [tell-joke.ps1](scripts/tell-joke.ps1) | Tells a random joke by text-to-speech. [More »](docs/tell-joke.md) |
|
||||||
| [turn-volume-down.ps1](scripts/turn-volume-down.ps1) | Turns the audio volume down. [Read more »](docs/turn-volume-down.md) |
|
| [tell-quote.ps1](scripts/tell-quote.ps1) | Tells a random quote by text-to-speech. [More »](docs/tell-quote.md) |
|
||||||
| [turn-volume-fully-up.ps1](scripts/turn-volume-fully-up.ps1) | Turns the audio fully up. [Read more »](docs/turn-volume-fully-up.md) |
|
| [turn-volume-down.ps1](scripts/turn-volume-down.ps1) | Turns the audio volume down. [More »](docs/turn-volume-down.md) |
|
||||||
| [turn-volume-off.ps1](scripts/turn-volume-off.ps1) | Turns audio off. [Read more »](docs/turn-volume-off-audio.md) |
|
| [turn-volume-fully-up.ps1](scripts/turn-volume-fully-up.ps1) | Turns the audio fully up. [More »](docs/turn-volume-fully-up.md) |
|
||||||
| [turn-volume-on.ps1](scripts/turn-volume-on.ps1) | Turns audio on. [Read more »](docs/turn-volume-on.md) |
|
| [turn-volume-off.ps1](scripts/turn-volume-off.ps1) | Turns audio off. [More »](docs/turn-volume-off-audio.md) |
|
||||||
| [turn-volume-up.ps1](scripts/turn-volume-up.ps1) | Turns the audio volume up. [Read more »](docs/turn-volume-up.md) |
|
| [turn-volume-on.ps1](scripts/turn-volume-on.ps1) | Turns audio on. [More »](docs/turn-volume-on.md) |
|
||||||
|
| [turn-volume-up.ps1](scripts/turn-volume-up.ps1) | Turns the audio volume up. [More »](docs/turn-volume-up.md) |
|
||||||
|
|
||||||
|
|
||||||
⚙️ Scripts to Manage Computers
|
⚙️ Scripts for Computer Management
|
||||||
-------------------------------
|
----------------------------------
|
||||||
|
|
||||||
| Script | Description |
|
| Script | Description |
|
||||||
| ---------------------------------------------------- | ------------------------------------------------------------------------------------------------- |
|
| ---------------------------------------------------- | ------------------------------------------------------------------------------------------- |
|
||||||
| [add-firewall-rules.ps1](scripts/add-firewall-rules.ps1) | Adds firewall rules for executables, needs admin rights. [Read more »](docs/add-firewall-rules.md) |
|
| [add-firewall-rules.ps1](scripts/add-firewall-rules.ps1) | Adds firewall rules for executables, needs admin rights. [Read more »](docs/add-firewall-rules.md) |
|
||||||
| [check-cpu.ps1](scripts/check-cpu.ps1)| Checks the CPU temperature. [Read more »](docs/check-cpu.md) |
|
| [check-cpu.ps1](scripts/check-cpu.ps1)| Checks the CPU temperature. [More »](docs/check-cpu.md) |
|
||||||
| [check-dns.ps1](scripts/check-dns.ps1) | Checks the DNS resolution. [Read more »](docs/check-dns.md) |
|
| [check-dns.ps1](scripts/check-dns.ps1) | Checks the DNS resolution. [More »](docs/check-dns.md) |
|
||||||
| [check-drive-space.ps1](scripts/check-drive-space.ps1) | Checks a drive for free space left. [Read more »](docs/check-drive-space.md) |
|
| [check-drive-space.ps1](scripts/check-drive-space.ps1) | Checks a drive for free space left. [More »](docs/check-drive-space.md) |
|
||||||
| [check-file-system.ps1](scripts/check-file-system.ps1) | Checks the file system of a drive (needs admin rights). [Read more »](docs/check-file-system.md)|
|
| [check-file-system.ps1](scripts/check-file-system.ps1) | Checks the file system of a drive (needs admin rights). [More »](docs/check-file-system.md)|
|
||||||
| [check-health.ps1](scripts/check-health.ps1) | Checks the system health. [Read more »](docs/check-health.md) |
|
| [check-health.ps1](scripts/check-health.ps1) | Checks the system health. [More »](docs/check-health.md) |
|
||||||
| [check-ping.ps1](scripts/check-ping.ps1) | Checks the ping latency to the internet. [Read more »](docs/check-ping.md) |
|
| [check-ping.ps1](scripts/check-ping.ps1) | Checks the ping latency to the internet. [More »](docs/check-ping.md) |
|
||||||
| [check-swap-space.ps1](scripts/check-swap-space.ps1) | Checks the swap space for free space left. [Read more »](docs/check-swap-space.md) |
|
| [check-swap-space.ps1](scripts/check-swap-space.ps1) | Checks the swap space for free space left. [More »](docs/check-swap-space.md) |
|
||||||
| [check-windows-system-files.ps1](scripts/check-windows-system-files.ps1) | Checks Windows system files (needs admin rights). [Read more »](docs/check-windows-system-files.md) |
|
| [check-windows-system-files.ps1](scripts/check-windows-system-files.ps1) | Checks Windows system files (needs admin rights). [More »](docs/check-windows-system-files.md) |
|
||||||
| [enable-crash-dumps.ps1](scripts/enable-crash-dumps.ps1) | Enables the writing of crash dumps. [Read more »](docs/enable-crash-dumps.md) |
|
| [enable-crash-dumps.ps1](scripts/enable-crash-dumps.ps1) | Enables the writing of crash dumps. [More »](docs/enable-crash-dumps.md) |
|
||||||
| [hibernate.ps1](scripts/hibernate.ps1) | Hibernates the local computer immediately. [Read more »](docs/hibernate.md) |
|
| [hibernate.ps1](scripts/hibernate.ps1) | Hibernates the local computer immediately. [More »](docs/hibernate.md) |
|
||||||
| [install-github-cli.ps1](scripts/install-github-cli.ps1) | Installs GitHub CLI. [Read more »](docs/install-github-cli.md) |
|
| [install-github-cli.ps1](scripts/install-github-cli.ps1) | Installs GitHub CLI. [More »](docs/install-github-cli.md) |
|
||||||
| [install-chrome-browser.ps1](scripts/install-chrome-browser.ps1) | Installs the Google Chrome browser. [Read more »](docs/install-chrome-browser.md) |
|
| [install-chrome-browser.ps1](scripts/install-chrome-browser.ps1) | Installs the Google Chrome browser. [More »](docs/install-chrome-browser.md) |
|
||||||
| [install-firefox.ps1](scripts/install-firefox.ps1) | Installs the Firefox browser. [Read more »](docs/install-firefox.md) |
|
| [install-firefox.ps1](scripts/install-firefox.ps1) | Installs the Firefox browser. [More »](docs/install-firefox.md) |
|
||||||
| [install-knot-resolver.ps1](scripts/install-knot-resolver.ps1) | Installs the Knot Resolver (needs admin rights). [Read more »](docs/install-knot-resolver.md)|
|
| [install-knot-resolver.ps1](scripts/install-knot-resolver.ps1) | Installs the Knot Resolver (needs admin rights). [More »](docs/install-knot-resolver.md)|
|
||||||
| [install-ssh-client.ps1](scripts/install-ssh-client.ps1) | Installs a SSH client (needs admin rights). [Read more »](docs/install-ssh-client.md) |
|
| [install-salesforce-cli.ps1](scripts/install-salesforce-cli.ps1) | Installs the Salesforce CLI (sfdx). [More »](docs/install-salesforce-cli.md) |
|
||||||
| [install-ssh-server.ps1](scripts/install-ssh-server.ps1) | Installs a SSH server (needs admin rights). [Read more »](docs/install-ssh-server.md) |
|
| [install-ssh-client.ps1](scripts/install-ssh-client.ps1) | Installs a SSH client (needs admin rights). [More »](docs/install-ssh-client.md) |
|
||||||
| [install-signal-cli.ps1](scripts/install-signal-cli.ps1) | Installs the CLI edition of the Signal messenger. [Read more »](docs/install-signal-cli.md)|
|
| [install-ssh-server.ps1](scripts/install-ssh-server.ps1) | Installs a SSH server (needs admin rights). [More »](docs/install-ssh-server.md) |
|
||||||
| [install-updates.ps1](scripts/install-updates.ps1) | Installs updates (need admin rights). [Read more »](docs/install-updates.md) |
|
| [install-signal-cli.ps1](scripts/install-signal-cli.ps1) | Installs the CLI edition of the Signal messenger. [More »](docs/install-signal-cli.md)|
|
||||||
| [install-wsl.ps1](scripts/install-wsl.ps1) | Installs Windows Subsystem for Linux (WSL), needs admin rights. [Read more »](docs/install-wsl.md)|
|
| [install-updates.ps1](scripts/install-updates.ps1) | Installs updates (need admin rights). [More »](docs/install-updates.md) |
|
||||||
| [list-apps.ps1](scripts/list-apps.ps1) | Lists the installed applications. [Read more »](docs/list-installed-apps.md) |
|
| [install-wsl.ps1](scripts/install-wsl.ps1) | Installs Windows Subsystem for Linux (WSL), needs admin rights. [More »](docs/install-wsl.md)|
|
||||||
| [list-cli-tools.ps1](scripts/list-cli-tools.ps1) | Lists installed command-line interface (CLI) tools. [Read more »](docs/list-cli-tools.md) |
|
| [list-apps.ps1](scripts/list-apps.ps1) | Lists the installed applications. [More »](docs/list-installed-apps.md) |
|
||||||
| [list-dns-servers.ps1](scripts/list-dns-servers.ps1) | Lists public DNS servers. [Read more »](docs/list-dns-servers.md) |
|
| [list-cli-tools.ps1](scripts/list-cli-tools.ps1) | Lists installed command-line interface (CLI) tools. [More »](docs/list-cli-tools.md) |
|
||||||
| [list-drives.ps1](scripts/list-drives.ps1) | Lists all drives. [Read more »](docs/list-drives.md) |
|
| [list-dns-servers.ps1](scripts/list-dns-servers.ps1) | Lists public DNS servers. [More »](docs/list-dns-servers.md) |
|
||||||
| [list-network-shares.ps1](scripts/list-network-shares.ps1) | Lists all network shares of the local computer. [Read more »](docs/list-network-shares.md) |
|
| [list-drives.ps1](scripts/list-drives.ps1) | Lists all drives. [More »](docs/list-drives.md) |
|
||||||
| [list-installed-software.ps1](scripts/list-installed-software.ps1) | Lists the installed software. [Read more »](docs/list-installed-software.md) |
|
| [list-network-shares.ps1](scripts/list-network-shares.ps1) | Lists all network shares of the local computer. [More »](docs/list-network-shares.md) |
|
||||||
| [list-printers.ps1](scripts/list-printers.ps1) | Lists all printer known to the computer. [Read more »](docs/list-printers.md) |
|
| [list-installed-software.ps1](scripts/list-installed-software.ps1) | Lists the installed software. [More »](docs/list-installed-software.md) |
|
||||||
| [list-print-jobs.ps1](scripts/list-print-jobs.ps1) | Lists all jobs of all printers. [Read more »](docs/list-print-jobs.md) |
|
| [list-printers.ps1](scripts/list-printers.ps1) | Lists all printer known to the computer. [More »](docs/list-printers.md) |
|
||||||
| [list-processes.ps1](scripts/list-processes.ps1) | Lists the local computer processes. [Read more »](docs/list-processes.md) |
|
| [list-print-jobs.ps1](scripts/list-print-jobs.ps1) | Lists all jobs of all printers. [More »](docs/list-print-jobs.md) |
|
||||||
| [list-services.ps1](scripts/list-services.ps1) | Lists the services on the local computer. [Read more »](docs/list-services.md) |
|
| [list-processes.ps1](scripts/list-processes.ps1) | Lists the local computer processes. [More »](docs/list-processes.md) |
|
||||||
| [list-system-info.ps1](scripts/list-system-info.ps1) | Lists system information on the local computer. [Read more »](docs/list-system-info.md) |
|
| [list-services.ps1](scripts/list-services.ps1) | Lists the services on the local computer. [More »](docs/list-services.md) |
|
||||||
| [list-tasks.ps1](scripts/list-tasks.ps1) | Lists all Windows scheduler tasks. [Read more »](docs/list-tasks.md) |
|
| [list-system-info.ps1](scripts/list-system-info.ps1) | Lists system information on the local computer. [More »](docs/list-system-info.md) |
|
||||||
| [list-timezone.ps1](scripts/list-timezone.ps1) | Lists the current time zone details. [Read more »](docs/list-timezone.md) |
|
| [list-tasks.ps1](scripts/list-tasks.ps1) | Lists all Windows scheduler tasks. [More »](docs/list-tasks.md) |
|
||||||
| [list-timezones.ps1](scripts/list-timezones.ps1) | Lists all time zones available. [Read more »](docs/list-timezones.md) |
|
| [list-timezone.ps1](scripts/list-timezone.ps1) | Lists the current time zone details. [More »](docs/list-timezone.md) |
|
||||||
| [list-user-groups.ps1](scripts/list-user-groups.ps1) | Lists the user groups on the local computer. [Read more »](docs/list-user-groups.md) |
|
| [list-timezones.ps1](scripts/list-timezones.ps1) | Lists all time zones available. [More »](docs/list-timezones.md) |
|
||||||
| [poweroff.ps1](scripts/poweroff.ps1) | Halts the local computer (needs admin rights). [Read more »](docs/poweroff.md) |
|
| [list-user-groups.ps1](scripts/list-user-groups.ps1) | Lists the user groups on the local computer. [More »](docs/list-user-groups.md) |
|
||||||
| [query-smart-data.ps1](scripts/query-smart-data.ps1) | Queries the S.M.A.R.T. data of your HDD/SSD's. [Read more »](docs/query-smart-data.md) |
|
| [new-power-plan.ps1](scripts/new-power-plan.ps1) | Creates a custom power plan based on the active one. [More »](docs/new-power-plan.md) |
|
||||||
| [reboot.ps1](scripts/reboot.ps1) | Reboots the local computer (needs admin rights). [Read more »](docs/reboot.md) |
|
| [poweroff.ps1](scripts/poweroff.ps1) | Halts the local computer (needs admin rights). [More »](docs/poweroff.md) |
|
||||||
| [remove-print-jobs.ps1](scripts/remove-print-jobs.ps1) | Removes all jobs from all printers. [Read more »](docs/remove-print-jobs.md) |
|
| [query-smart-data.ps1](scripts/query-smart-data.ps1) | Queries the S.M.A.R.T. data of your HDD/SSD's. [More »](docs/query-smart-data.md) |
|
||||||
| [restart-network-adapters.ps1](scripts/restart-network-adapters.ps1) | Restarts all local network adapters. [Read more »](docs/restart-network-adapters.md)|
|
| [reboot.ps1](scripts/reboot.ps1) | Reboots the local computer (needs admin rights). [More »](docs/reboot.md) |
|
||||||
| [upgrade-ubuntu.ps1](scripts/upgrade-ubuntu.ps1) | Upgrades Ubuntu Linux to the latest (LTS) release. [Read more »](docs/upgrade-ubuntu.md) |
|
| [remove-print-jobs.ps1](scripts/remove-print-jobs.ps1) | Removes all jobs from all printers. [More »](docs/remove-print-jobs.md) |
|
||||||
| [wake-up.ps1](scripts/wake-up.ps1) | Wakes up a remote computer using Wake-on-LAN. [Read more »](docs/wakeup.md) |
|
| [restart-network-adapters.ps1](scripts/restart-network-adapters.ps1) | Restarts all local network adapters. [More »](docs/restart-network-adapters.md)|
|
||||||
| [windefender.ps1](scripts/windefender.ps1) | Turn Windows Defender on/off/check real time monitoring. [Read more »](docs/windefender.md) |
|
| [upgrade-ubuntu.ps1](scripts/upgrade-ubuntu.ps1) | Upgrades Ubuntu Linux to the latest (LTS) release. [More »](docs/upgrade-ubuntu.md) |
|
||||||
|
| [wake-up-host.ps1](scripts/wake-up-host.ps1) | Wakes up a computer using Wake-on-LAN. [More »](docs/wake-up-host.md) |
|
||||||
|
| [windefender.ps1](scripts/windefender.ps1) | Turn Windows Defender on/off/check real time monitoring. [More »](docs/windefender.md) |
|
||||||
|
|
||||||
|
|
||||||
💻 Scripts for the Desktop
|
💻 Scripts for the Desktop
|
||||||
@ -96,25 +99,25 @@ Mega Collection of PowerShell Scripts
|
|||||||
|
|
||||||
| Script | Description |
|
| Script | Description |
|
||||||
| ---------------------------------------------------- | ------------------------------------------------------------------------------------------- |
|
| ---------------------------------------------------- | ------------------------------------------------------------------------------------------- |
|
||||||
| [close-calculator.ps1](scripts/close-calculator.ps1) | Closes the calculator application. [Read more...](docs/close-calculator.md) |
|
| [close-calculator.ps1](scripts/close-calculator.ps1) | Closes the calculator application. [Read more »](docs/close-calculator.md) |
|
||||||
| [close-cortana.ps1](scripts/close-cortana.ps1) | Closes Cortana. [Read more...](docs/close-cortana.md) |
|
| [close-cortana.ps1](scripts/close-cortana.ps1) | Closes Cortana. [More »](docs/close-cortana.md) |
|
||||||
| [close-chrome.ps1](scripts/close-chrome.ps1) | Closes the Google Chrome browser. [Read more...](docs/close-chrome.md) |
|
| [close-chrome.ps1](scripts/close-chrome.ps1) | Closes the Google Chrome browser. [More »](docs/close-chrome.md) |
|
||||||
| [close-program.ps1](scripts/close-program.ps1) | Closes the given program gracefully. [Read more...](docs/close-program.md) |
|
| [close-program.ps1](scripts/close-program.ps1) | Closes the given program gracefully. [More »](docs/close-program.md) |
|
||||||
| [close-edge.ps1](scripts/close-edge.ps1) | Closes the Edge browser. [Read more...](docs/close-edge.md) |
|
| [close-edge.ps1](scripts/close-edge.ps1) | Closes the Edge browser. [More »](docs/close-edge.md) |
|
||||||
| [close-file-explorer.ps1](scripts/close-file-explorer.ps1)| Closes Microsoft File Explorer. [Read more...](docs/close-file-explorer.md) |
|
| [close-file-explorer.ps1](scripts/close-file-explorer.ps1)| Closes Microsoft File Explorer. [More »](docs/close-file-explorer.md) |
|
||||||
| [close-firefox.ps1](scripts/close-firefox.ps1) | Closes the Firefox browser. [Read more...](docs/close-edge.md) |
|
| [close-firefox.ps1](scripts/close-firefox.ps1) | Closes the Firefox browser. [More »](docs/close-edge.md) |
|
||||||
| [close-microsoft-store.ps1](scripts/close-microsoft-store.ps1)| Closes the Microsoft Store app. [Read more...](docs/close-microsoft-store.md) |
|
| [close-microsoft-store.ps1](scripts/close-microsoft-store.ps1)| Closes the Microsoft Store app. [More »](docs/close-microsoft-store.md) |
|
||||||
| [close-netflix.ps1](scripts/close-netflix.ps1) | Closes the Netflix app. [Read more...](docs/close-netflix.md) |
|
| [close-netflix.ps1](scripts/close-netflix.ps1) | Closes the Netflix app. [More »](docs/close-netflix.md) |
|
||||||
| [close-onedrive.ps1](scripts/close-onedrive.ps1) | Closes Microsoft OneDrive. [Read more...](docs/close-onedrive.md) |
|
| [close-onedrive.ps1](scripts/close-onedrive.ps1) | Closes Microsoft OneDrive. [More »](docs/close-onedrive.md) |
|
||||||
| [close-serenade.ps1](scripts/close-serenade.ps1) | Closes the Serenade application. [Read more...](docs/close-serenade.md) |
|
| [close-serenade.ps1](scripts/close-serenade.ps1) | Closes the Serenade application. [More »](docs/close-serenade.md) |
|
||||||
| [close-snipping-tool.ps1](scripts/close-snipping-tool.ps1)| Closes the Snipping Tool application. [Read more...](docs/close-snipping-tool.md) |
|
| [close-snipping-tool.ps1](scripts/close-snipping-tool.ps1)| Closes the Snipping Tool application. [More »](docs/close-snipping-tool.md) |
|
||||||
| [close-spotify.ps1](scripts/close-spotify.ps1) | Closes Spotify. [Read more...](docs/close-spotify.md) |
|
| [close-spotify.ps1](scripts/close-spotify.ps1) | Closes Spotify. [More »](docs/close-spotify.md) |
|
||||||
| [close-system-settings.ps1](scripts/close-system-settings.ps1) | Closes the System Settings window. [Read more...](docs/close-system-settings.md) |
|
| [close-system-settings.ps1](scripts/close-system-settings.ps1) | Closes the System Settings window. [More »](docs/close-system-settings.md) |
|
||||||
| [close-task-manager.ps1](scripts/close-task-manager.ps1) | Closes the Task Manager. [Read more...](docs/close-task-manager.md) |
|
| [close-task-manager.ps1](scripts/close-task-manager.ps1) | Closes the Task Manager. [More »](docs/close-task-manager.md) |
|
||||||
| [close-thunderbird.ps1](scripts/close-thunderbird.ps1) | Closes Mozilla Thunderbird. [Read more...](docs/close-thunderbird.md) |
|
| [close-thunderbird.ps1](scripts/close-thunderbird.ps1) | Closes Mozilla Thunderbird. [More »](docs/close-thunderbird.md) |
|
||||||
| [close-vlc.ps1](scripts/close-vlc.ps1) | Closes the VLC media player application. [Read more...](docs/close-vlc.md) |
|
| [close-vlc.ps1](scripts/close-vlc.ps1) | Closes the VLC media player application. [More »](docs/close-vlc.md) |
|
||||||
| [close-windows-terminal.ps1](scripts/close-windows-terminal.ps1) | Closes the Windows Terminal application. [Read more...](docs/close-windows-terminal.md) |
|
| [close-windows-terminal.ps1](scripts/close-windows-terminal.ps1) | Closes the Windows Terminal application. [More »](docs/close-windows-terminal.md) |
|
||||||
| [enable-god-mode.ps1](scripts/enable-god-mode.ps1) | Enables the god mode (adds a new icon to the desktop). [Read more...](docs/enable-god-mode.md) |
|
| [enable-god-mode.ps1](scripts/enable-god-mode.ps1) | Enables the god mode (adds a new icon to the desktop). [More »](docs/enable-god-mode.md) |
|
||||||
| [install-chrome.ps1](scripts/install-chrome.ps1) | Installs the Google Chrome browser. [Read more...](docs/install-chrome-browser.md) |
|
| [install-chrome.ps1](scripts/install-chrome.ps1) | Installs the Google Chrome browser. [Read more...](docs/install-chrome-browser.md) |
|
||||||
| [install-firefox.ps1](scripts/install-firefox.ps1) | Installs the Firefox browser. [Read more...](docs/install-firefox.md) |
|
| [install-firefox.ps1](scripts/install-firefox.ps1) | Installs the Firefox browser. [Read more...](docs/install-firefox.md) |
|
||||||
| [list-clipboard.ps1](scripts/list-clipboard.ps1) | Lists the contents of the clipboard. [Read more...](docs/list-clipboard.md) |
|
| [list-clipboard.ps1](scripts/list-clipboard.ps1) | Lists the contents of the clipboard. [Read more...](docs/list-clipboard.md) |
|
||||||
@ -167,12 +170,12 @@ Mega Collection of PowerShell Scripts
|
|||||||
|
|
||||||
| Script | Description |
|
| Script | Description |
|
||||||
| ---------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
|
| ---------------------------------------------------- | --------------------------------------------------------------------------------------------------- |
|
||||||
| [cd-autostart.ps1](scripts/cd-autostart.ps1) | Set the working directory to the user's autostart folder. [Read more...](docs/cd-autostart.md) |
|
| [cd-autostart.ps1](scripts/cd-autostart.ps1) | Set the working directory to the user's autostart folder. [Read more »](docs/cd-autostart.md) |
|
||||||
| [cd-desktop.ps1](scripts/cd-desktop.ps1) | Set the working directory to the user's desktop folder. [Read more...](docs/cd-desktop.md) |
|
| [cd-desktop.ps1](scripts/cd-desktop.ps1) | Set the working directory to the user's desktop folder. [More »](docs/cd-desktop.md) |
|
||||||
| [cd-docs.ps1](scripts/cd-docs.ps1) | Set the working directory to the user's documents folder. [Read more...](docs/cd-docs.md) |
|
| [cd-docs.ps1](scripts/cd-docs.ps1) | Set the working directory to the user's documents folder. [More »](docs/cd-docs.md) |
|
||||||
| [cd-downloads.ps1](scripts/cd-downloads.ps1) | Set the working directory to the user's downloads folder. [Read more...](docs/cd-downloads.md) |
|
| [cd-downloads.ps1](scripts/cd-downloads.ps1) | Set the working directory to the user's downloads folder. [More »](docs/cd-downloads.md) |
|
||||||
| [cd-dropbox.ps1](scripts/cd-dropbox.ps1) | Set the working directory to the user's Dropbox folder. [Read more...](docs/cd-dropbox.md) |
|
| [cd-dropbox.ps1](scripts/cd-dropbox.ps1) | Set the working directory to the user's Dropbox folder. [More »](docs/cd-dropbox.md) |
|
||||||
| [cd-home.ps1](scripts/cd-home.ps1) | Set the working directory to the user's home folder. [Read more...](docs/cd-home.md) |
|
| [cd-home.ps1](scripts/cd-home.ps1) | Set the working directory to the user's home folder. [More »](docs/cd-home.md) |
|
||||||
| [cd-music.ps1](scripts/cd-music.ps1) | Set the working directory to the user's music folder. [Read more...](docs/cd-music.md) |
|
| [cd-music.ps1](scripts/cd-music.ps1) | Set the working directory to the user's music folder. [Read more...](docs/cd-music.md) |
|
||||||
| [cd-onedrive.ps1](scripts/cd-onedrive.ps1) | Set the working directory to the user's OneDrive folder. [Read more...](docs/cd-onedrive.md) |
|
| [cd-onedrive.ps1](scripts/cd-onedrive.ps1) | Set the working directory to the user's OneDrive folder. [Read more...](docs/cd-onedrive.md) |
|
||||||
| [cd-pics.ps1](scripts/cd-pics.ps1) | Set the working directory to the user's pictures folder. [Read more...](docs/cd-pics.md) |
|
| [cd-pics.ps1](scripts/cd-pics.ps1) | Set the working directory to the user's pictures folder. [Read more...](docs/cd-pics.md) |
|
||||||
@ -200,6 +203,7 @@ Mega Collection of PowerShell Scripts
|
|||||||
| [get-sha1.ps1](scripts/get-sha1.ps1) | Prints the SHA1 checksum of the given file. [Read more...](docs/get-sha1.md) |
|
| [get-sha1.ps1](scripts/get-sha1.ps1) | Prints the SHA1 checksum of the given file. [Read more...](docs/get-sha1.md) |
|
||||||
| [get-sha256.ps1](scripts/get-sha256.ps1) | Prints the SHA256 checksum of the given file. [Read more...](docs/get-sha256.md) |
|
| [get-sha256.ps1](scripts/get-sha256.ps1) | Prints the SHA256 checksum of the given file. [Read more...](docs/get-sha256.md) |
|
||||||
| [inspect-exe.ps1](scripts/inspect-exe.ps1) | Prints basic information of the given executable file. [Read more...](docs/inspect-exe.md) |
|
| [inspect-exe.ps1](scripts/inspect-exe.ps1) | Prints basic information of the given executable file. [Read more...](docs/inspect-exe.md) |
|
||||||
|
| [install-fonts.ps1](scripts/install-fonts.ps1) | installs fonts and updates the registry. [Read more...](docs/install-fonts.md) |
|
||||||
| [list-dir-tree.ps1](scripts/list-dir-tree.ps1) | Lists the directory tree content. [Read more...](docs/list-dir-treep.md) |
|
| [list-dir-tree.ps1](scripts/list-dir-tree.ps1) | Lists the directory tree content. [Read more...](docs/list-dir-treep.md) |
|
||||||
| [list-empty-dirs.ps1](scripts/list-empty-dirs.ps1) | Lists empty subfolders within the given directory tree. [Read more...](docs/list-empty-dirs.md) |
|
| [list-empty-dirs.ps1](scripts/list-empty-dirs.ps1) | Lists empty subfolders within the given directory tree. [Read more...](docs/list-empty-dirs.md) |
|
||||||
| [list-empty-files.ps1](scripts/list-empty-files.ps1) | Lists empty files within the given directory tree. [Read more...](docs/list-empty-files.md) |
|
| [list-empty-files.ps1](scripts/list-empty-files.ps1) | Lists empty files within the given directory tree. [Read more...](docs/list-empty-files.md) |
|
||||||
@ -223,15 +227,23 @@ Mega Collection of PowerShell Scripts
|
|||||||
♻️ Scripts to Convert Files
|
♻️ Scripts to Convert Files
|
||||||
---------------------------
|
---------------------------
|
||||||
|
|
||||||
| Script | Description |
|
| Script | Description |
|
||||||
| ------------------------------------------------------ | -------------------------------------------------------------------------------------------------------- |
|
| ------------------------------------------------------ | --------------------------------------------------------------------------------------------------- |
|
||||||
| [convert-csv2txt.ps1](scripts/convert-csv2txt.ps1) | Converts a .CSV file to a text file. [Read more »](docs/convert-csv2txt.md) |
|
| [convert-csv2txt.ps1](scripts/convert-csv2txt.ps1) | Converts a .CSV file to a text file. [Read more »](docs/convert-csv2txt.md) |
|
||||||
| [convert-mysql2csv.ps1](scripts/convert-mysql2csv.ps1) | Converts a MySQL database table to a .CSV file. [Read more »](docs/convert-mysql2csv.md) |
|
| [convert-dir27z.ps1](scripts/convert-dir27z.ps1) | Converts a directory tree to a compressed .7z file. [Read more »](docs/convert-dir27z.md) |
|
||||||
| [convert-ps2bat.ps1](scripts/convert-ps2bat.ps1) | Converts a PowerShell script to a Batch script. [Read more »](docs/convert-ps2bat.md) |
|
| [convert-dir2zip.ps1](scripts/convert-dir2zip.ps1) | Converts a directory tree to a compressed .ZIP file. [Read more »](docs/convert-dir2zip.md) |
|
||||||
| [convert-ps2md.ps1](scripts/convert-ps2md.ps1) | Converts the comment-based help of a PowerShell script to Markdown. [Read more »](docs/convert-ps2md.md) |
|
| [convert-history2ps1.ps1](scripts/convert-history2ps1.ps1) | Converts your command history to a PowerShell script. [Read more »](docs/convert-history2ps1.md) |
|
||||||
| [convert-sql2csv.ps1](scripts/convert-sql2csv.ps1) | Converts a SQL database table to a .CSV file. [Read more »](docs/convert-sql2csv.md) |
|
| [convert-image2ascii.ps1](scripts/convert-image2ascii.ps1) | Converts images to ASCII art. [Read more »](docs/convert-image2ascii.md) |
|
||||||
| [convert-txt2wav.ps1](scripts/convert-txt2wav.ps1) | Converts text to a .WAV audio file. [Read more »](docs/convert-txt2wav.md) |
|
| [convert-images2webp.ps1](scripts/convert-images2webp.ps1) | Converts images in a directory or a single image file to WebP format in parallel. [More »](docs/convert-images2webp.md) |
|
||||||
| [export-to-manuals.ps1](scripts/export-to-manuals.ps1) | Exports all scripts as manuals. [Read more »](docs/export-to-manuals.md) |
|
| [convert-mysql2csv.ps1](scripts/convert-mysql2csv.ps1) | Converts a MySQL database table to a .CSV file. [More »](docs/convert-mysql2csv.md) |
|
||||||
|
| [convert-ps2bat.ps1](scripts/convert-ps2bat.ps1) | Converts a PowerShell script to a Batch script. [More »](docs/convert-ps2bat.md) |
|
||||||
|
| [convert-ps2md.ps1](scripts/convert-ps2md.ps1) | Converts the comment-based help of a PowerShell script to Markdown. [More »](docs/convert-ps2md.md) |
|
||||||
|
| [convert-md2docx.ps1](scripts/convert-md2docx.ps1) | Converts Markdown file(s) to .DOCX format. [Read more »](docs/convert-md2docx.md) |
|
||||||
|
| [convert-md2html.ps1](scripts/convert-md2html.ps1) | Converts Markdown file(s) to HTML format. [Read more »](docs/convert-md2html.md) |
|
||||||
|
| [convert-md2pdf.ps1](scripts/convert-md2pdf.ps1) | Converts Markdown file(s) to PDF format. [Read more »](docs/convert-md2pdf.md) |
|
||||||
|
| [convert-sql2csv.ps1](scripts/convert-sql2csv.ps1) | Converts a SQL database table to a .CSV file. [More »](docs/convert-sql2csv.md) |
|
||||||
|
| [convert-txt2wav.ps1](scripts/convert-txt2wav.ps1) | Converts text to a .WAV audio file. [More »](docs/convert-txt2wav.md) |
|
||||||
|
| [export-to-manuals.ps1](scripts/export-to-manuals.ps1) | Exports all scripts as manuals. [More »](docs/export-to-manuals.md) |
|
||||||
|
|
||||||
|
|
||||||
📝 Scripts for Git
|
📝 Scripts for Git
|
||||||
@ -240,61 +252,61 @@ Mega Collection of PowerShell Scripts
|
|||||||
| Script | Description |
|
| Script | Description |
|
||||||
| ---------------------------------------------------- | ------------------------------------------------------------------------------------------------ |
|
| ---------------------------------------------------- | ------------------------------------------------------------------------------------------------ |
|
||||||
| [build-repo.ps1](scripts/build-repo.ps1) | Builds a Git repository. [Read more »](docs/build-repo.md) |
|
| [build-repo.ps1](scripts/build-repo.ps1) | Builds a Git repository. [Read more »](docs/build-repo.md) |
|
||||||
| [build-repos.ps1](scripts/build-repos.ps1) | Builds all Git repositories in a folder. [Read more »](docs/build-repos.md) |
|
| [build-repos.ps1](scripts/build-repos.ps1) | Builds all Git repositories in a folder. [More »](docs/build-repos.md) |
|
||||||
| [check-repo.ps1](scripts/check-repo.ps1) | Checks a Git repository. [Read more »](docs/check-repo.md) |
|
| [check-repo.ps1](scripts/check-repo.ps1) | Checks a Git repository. [More »](docs/check-repo.md) |
|
||||||
| [clean-repo.ps1](scripts/clean-repo.ps1) | Cleans a Git repository from untracked files. [Read more »](docs/clean-repo.md) |
|
| [clean-repo.ps1](scripts/clean-repo.ps1) | Cleans a Git repository from untracked files. [More »](docs/clean-repo.md) |
|
||||||
| [clean-repos.ps1](scripts/clean-repos.ps1) | Cleans all Git repositories in a folder from untracked files. [Read more »](docs/clean-repos.md) |
|
| [clean-repos.ps1](scripts/clean-repos.ps1) | Cleans all Git repositories in a folder from untracked files. [More »](docs/clean-repos.md) |
|
||||||
| [clone-repos.ps1](scripts/clone-repos.ps1) | Clones well-known Git repositories. [Read more »](docs/clone-repos.md) |
|
| [clone-repos.ps1](scripts/clone-repos.ps1) | Clones well-known Git repositories. [More »](docs/clone-repos.md) |
|
||||||
| [configure-git.ps1](scripts/configure-git.ps1) | Sets up the Git user configuration. [Read more »](docs/configure-git.md) |
|
| [configure-git.ps1](scripts/configure-git.ps1) | Sets up the Git user configuration. [More »](docs/configure-git.md) |
|
||||||
| [fetch-repo.ps1](scripts/fetch-repo.ps1) | Fetches updates for a Git repository. [Read more »](docs/fetch-repo.md) |
|
| [fetch-repo.ps1](scripts/fetch-repo.ps1) | Fetches updates for a Git repository. [More »](docs/fetch-repo.md) |
|
||||||
| [fetch-repos.ps1](scripts/fetch-repos.ps1) | Fetches updates for all Git repositories in a folder. [Read more »](docs/fetch-repos.md) |
|
| [fetch-repos.ps1](scripts/fetch-repos.ps1) | Fetches updates for all Git repositories in a folder. [More »](docs/fetch-repos.md) |
|
||||||
| [list-branches.ps1](scripts/list-branches.ps1) | Lists all branches in a Git repository. [Read more »](docs/list-branches.md) |
|
| [list-branches.ps1](scripts/list-branches.ps1) | Lists all branches in a Git repository. [More »](docs/list-branches.md) |
|
||||||
| [list-commit-stats.ps1](scripts/list-commit-stats.ps1) | Lists a Git commit statistics. [Read more »](docs/list-commit-stats.md) |
|
| [list-commit-stats.ps1](scripts/list-commit-stats.ps1) | Lists a Git commit statistics. [More »](docs/list-commit-stats.md) |
|
||||||
| [list-commits.ps1](scripts/list-commits.ps1) | Lists all commits in a Git repository. [Read more »](docs/list-commits.md) |
|
| [list-commits.ps1](scripts/list-commits.ps1) | Lists all commits in a Git repository. [More »](docs/list-commits.md) |
|
||||||
| [list-latest-tag.ps1](scripts/list-latest-tag.ps1) | Lists the latest tag on the current branch in a Git repository. [Read more »](docs/list-latest-tag.md) |
|
| [list-latest-tag.ps1](scripts/list-latest-tag.ps1) | Lists the latest tag on the current branch in a Git repository. [More »](docs/list-latest-tag.md) |
|
||||||
| [list-latest-tags.ps1](scripts/list-latest-tags.ps1) | Lists the latests tags in all Git repositories under a directory. [Read more »](docs/list-latest-tags.md) |
|
| [list-latest-tags.ps1](scripts/list-latest-tags.ps1) | Lists the latests tags in all Git repositories under a directory. [More »](docs/list-latest-tags.md) |
|
||||||
| [list-repos.ps1](scripts/list-repos.ps1) | Lists all Git repositories in a folder. [Read more »](docs/list-repos.md) |
|
| [list-repos.ps1](scripts/list-repos.ps1) | Lists all Git repositories in a folder. [More »](docs/list-repos.md) |
|
||||||
| [list-submodules.ps1](scripts/list-submodules.ps1) | Lists all submodules in a Git repository. [Read more »](docs/list-submodules.md) |
|
| [list-submodules.ps1](scripts/list-submodules.ps1) | Lists all submodules in a Git repository. [More »](docs/list-submodules.md) |
|
||||||
| [list-tags.ps1](scripts/list-tags.ps1) | Lists all tags in a Git repository. [Read more »](docs/list-tags.md) |
|
| [list-tags.ps1](scripts/list-tags.ps1) | Lists all tags in a Git repository. [More »](docs/list-tags.md) |
|
||||||
| [new-branch.ps1](scripts/new-branch.ps1) | Creates a new branch in a Git repository. [Read more »](docs/new-branch.md) |
|
| [new-branch.ps1](scripts/new-branch.ps1) | Creates a new branch in a Git repository. [More »](docs/new-branch.md) |
|
||||||
| [new-tag.ps1](scripts/new-tag.ps1) | Creates a new tag in a Git repository. [Read more »](docs/new-tag.md) |
|
| [new-tag.ps1](scripts/new-tag.ps1) | Creates a new tag in a Git repository. [More »](docs/new-tag.md) |
|
||||||
| [pick-commit.ps1](scripts/pick-commit.ps1) | Cherry-picks a Git commit into multiple branches. [Read more »](docs/pick-commit.md) |
|
| [pick-commit.ps1](scripts/pick-commit.ps1) | Cherry-picks a Git commit into multiple branches. [More »](docs/pick-commit.md) |
|
||||||
| [pull-repo.ps1](scripts/pull-repo.ps1) | Pulls updates for a Git repository. [Read more »](docs/pull-repo.md) |
|
| [pull-repo.ps1](scripts/pull-repo.ps1) | Pulls updates into a Git repository. [More »](docs/pull-repo.md) |
|
||||||
| [pull-repos.ps1](scripts/pull-repos.ps1) | Pulls updates for all Git repositories in a folder. [Read more »](docs/pull-repos.md) |
|
| [pull-repos.ps1](scripts/pull-repos.ps1) | Pulls updates into all Git repositories in a folder. [More »](docs/pull-repos.md) |
|
||||||
| [remove-tag.ps1](scripts/remove-tag.ps1) | Removes a tag in a Git repository. [Read more »](docs/remove-tag.md) |
|
| [remove-tag.ps1](scripts/remove-tag.ps1) | Removes a tag in a Git repository. [More »](docs/remove-tag.md) |
|
||||||
| [switch-branch.ps1](scripts/switch-branch.ps1) | Switches the branch in a Git repository. [Read more »](docs/switch-branch.md) |
|
| [switch-branch.ps1](scripts/switch-branch.ps1) | Switches the branch in a Git repository. [More »](docs/switch-branch.md) |
|
||||||
| [sync-repo.ps1](scripts/sync-repo.ps1) | Synchronizes a Git repository by pull & push. [Read more »](docs/sync-repo.md) |
|
| [sync-repo.ps1](scripts/sync-repo.ps1) | Synchronizes a Git repository by pull & push. [More »](docs/sync-repo.md) |
|
||||||
| [write-changelog.ps1](scripts/write-changelog.ps1) | Writes a changelog from Git commits. [Read more »](docs/write-changelog.md) |
|
| [write-changelog.ps1](scripts/write-changelog.ps1) | Writes a changelog from Git commits. [More »](docs/write-changelog.md) |
|
||||||
|
|
||||||
🔎 Scripts for PowerShell
|
🔎 Scripts for PowerShell
|
||||||
------------------------
|
------------------------
|
||||||
|
|
||||||
| Script | Description |
|
| Script | Description |
|
||||||
| ------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ |
|
| ------------------------------------------------------ | ------------------------------------------------------------------------------------------------------ |
|
||||||
| [daily-tasks.sh](scripts/daily-tasks.sh) | Execute PowerShell scripts automatically as daily tasks (Linux only). [Read more...](docs/daily-tasks.sh.md) |
|
| [daily-tasks.sh](scripts/daily-tasks.sh) | Execute PowerShell scripts automatically as daily tasks (Linux only). [Read more »](docs/daily-tasks.sh.md) |
|
||||||
| [introduce-powershell.ps1](scripts/introduce-powershell.ps1) | Introduces PowerShell to new users. [Read more...](docs/introduce-powershell.md) |
|
| [introduce-powershell.ps1](scripts/introduce-powershell.ps1) | Introduces PowerShell to new users. [More »](docs/introduce-powershell.md) |
|
||||||
| [list-aliases.ps1](scripts/list-aliases.ps1) | Lists all PowerShell aliases. [Read more...](docs/list-aliases.md) |
|
| [list-aliases.ps1](scripts/list-aliases.ps1) | Lists all PowerShell aliases. [More »](docs/list-aliases.md) |
|
||||||
| [list-automatic-variables.ps1](scripts/list-automatic-variables.ps1) | Lists the automatic variables of PowerShell. [Read more...](docs/list-automatic-variables.md)|
|
| [list-automatic-variables.ps1](scripts/list-automatic-variables.ps1) | Lists the automatic variables of PowerShell. [More »](docs/list-automatic-variables.md)|
|
||||||
| [list-cheat-sheet.ps1](scripts/list-cheat-sheet.ps1) | Lists the PowerShell cheat sheet. [Read more...](docs/list-cheat-sheet.md) |
|
| [list-cheat-sheet.ps1](scripts/list-cheat-sheet.ps1) | Lists the PowerShell cheat sheet. [More »](docs/list-cheat-sheet.md) |
|
||||||
| [list-cmdlets.ps1](scripts/list-cmdlets.ps1) | Lists the PowerShell cmdlets. [Read more...](docs/list-cmdlets.md) |
|
| [list-cmdlets.ps1](scripts/list-cmdlets.ps1) | Lists the PowerShell cmdlets. [More »](docs/list-cmdlets.md) |
|
||||||
| [list-console-colors.ps1](scripts/list-console-colors.ps1) | Lists all console colors. [Read more...](docs/list-console-colors.md) |
|
| [list-console-colors.ps1](scripts/list-console-colors.ps1) | Lists all console colors. [More »](docs/list-console-colors.md) |
|
||||||
| [list-modules.ps1](scripts/list-modules.ps1) | Lists the PowerShell modules. [Read more...](docs/list-modules.md) |
|
| [list-modules.ps1](scripts/list-modules.ps1) | Lists the PowerShell modules. [More »](docs/list-modules.md) |
|
||||||
| [list-profiles.ps1](scripts/list-profiles.ps1) | Lists your PowerShell profiles. [Read more...](docs/list-profiles.md) |
|
| [list-profiles.ps1](scripts/list-profiles.ps1) | Lists your PowerShell profiles. [More »](docs/list-profiles.md) |
|
||||||
| [list-scripts.ps1](scripts/list-scripts.ps1) | Lists all PowerShell scripts in this repository. [Read more...](docs/list-scripts.md) |
|
| [list-scripts.ps1](scripts/list-scripts.ps1) | Lists all PowerShell scripts in this repository. [More »](docs/list-scripts.md) |
|
||||||
| [new-script.ps1](scripts/new-script.ps1) | Creates a new PowerShell script. [Read more...](docs/new-script.md) |
|
| [new-script.ps1](scripts/new-script.ps1) | Creates a new PowerShell script. [More »](docs/new-script.md) |
|
||||||
| [set-profile.ps1](scripts/set-profile.ps1) | Updates your PowerShell user profile. [Read more...](docs/set-profile.md) |
|
| [set-profile.ps1](scripts/set-profile.ps1) | Updates your PowerShell user profile. [More »](docs/set-profile.md) |
|
||||||
|
|
||||||
🛒 Various PowerShell Scripts
|
🛒 Various PowerShell Scripts
|
||||||
------------------------------
|
------------------------------
|
||||||
|
|
||||||
| Script | Description |
|
| Script | Description |
|
||||||
|-------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------|
|
|-------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------|
|
||||||
| [add-memo.ps1](scripts/add-memo.ps1) | Adds the given memo text to $HOME/Memos.csv. [Read more...](docs/add-memo.md) |
|
| [add-memo.ps1](scripts/add-memo.ps1) | Adds the given memo text to $HOME/Memos.csv. [Read more »](docs/add-memo.md) |
|
||||||
| [check-ipv4-address.ps1](scripts/check-ipv4-address.ps1) | Checks the given IPv4 address for validity. [Read more...](docs/check-ipv4-address.md) |
|
| [check-ipv4-address.ps1](scripts/check-ipv4-address.ps1) | Checks the given IPv4 address for validity. [More »](docs/check-ipv4-address.md) |
|
||||||
| [check-ipv6-address.ps1](scripts/check-ipv6-address.ps1) | Checks the given IPv6 address for validity. [Read more...](docs/check-ipv6-address.md) |
|
| [check-ipv6-address.ps1](scripts/check-ipv6-address.ps1) | Checks the given IPv6 address for validity. [More »](docs/check-ipv6-address.md) |
|
||||||
| [check-mac-address.ps1](scripts/check-mac-address.ps1) | Checks the given MAC address for validity. [Read more...](docs/check-mac-address.md) |
|
| [check-mac-address.ps1](scripts/check-mac-address.ps1) | Checks the given MAC address for validity. [More »](docs/check-mac-address.md) |
|
||||||
| [check-subnet-mask.ps1](scripts/check-subnet-mask.ps1) | Checks the given subnet mask for validity. [Read more...](docs/check-subnet-mask.md) |
|
| [check-subnet-mask.ps1](scripts/check-subnet-mask.ps1) | Checks the given subnet mask for validity. [More »](docs/check-subnet-mask.md) |
|
||||||
| [check-weather.ps1](scripts/check-weather.ps1) | Checks the current weather for critical values. [Read more...](docs/check-weather.md) |
|
| [check-weather.ps1](scripts/check-weather.ps1) | Checks the current weather for critical values. [More »](docs/check-weather.md) |
|
||||||
| [display-time.ps1](scripts/display-time.ps1) | Displays the current time for 10 seconds by default. [Read more...](docs/display-time.md) |
|
| [display-time.ps1](scripts/display-time.ps1) | Displays the current time for 10 seconds by default. [Read more...](docs/display-time.md) |
|
||||||
| [list-anagrams.ps1](scripts/list-anagrams.ps1) | Lists all anagrams of the given word. [Read more...](docs/list-anagrams.md) |
|
| [list-anagrams.ps1](scripts/list-anagrams.ps1) | Lists all anagrams of the given word. [Read more...](docs/list-anagrams.md) |
|
||||||
| [list-city-weather.ps1](scripts/list-city-weather.ps1) | Lists the current weather of cities worldwide (west to east). [Read more...](docs/list-city-weather.md) |
|
| [list-city-weather.ps1](scripts/list-city-weather.ps1) | Lists the current weather of cities worldwide (west to east). [Read more...](docs/list-city-weather.md) |
|
||||||
@ -352,10 +364,10 @@ Mega Collection of PowerShell Scripts
|
|||||||
| [write-quote.ps1](scripts/write-quote.ps1) | Writes a random quote. [Read more...](docs/write-quote.md) |
|
| [write-quote.ps1](scripts/write-quote.ps1) | Writes a random quote. [Read more...](docs/write-quote.md) |
|
||||||
| [write-red.ps1](scripts/write-red.ps1) | Writes the given text in a red foreground color. [Read more...](docs/write-red.md) |
|
| [write-red.ps1](scripts/write-red.ps1) | Writes the given text in a red foreground color. [Read more...](docs/write-red.md) |
|
||||||
| [write-rot13.ps1](scripts/write-rot13.ps1) | Encodes or decodes the given text with ROT13. [Read more...](docs/write-rot13.md) |
|
| [write-rot13.ps1](scripts/write-rot13.ps1) | Encodes or decodes the given text with ROT13. [Read more...](docs/write-rot13.md) |
|
||||||
| [write-typewriter.ps1](scripts/write-typewriter.ps1) | Writes the given text with the typewriter effect. [Read more...](docs/write-typewriter.md) |
|
| [write-typewriter.ps1](scripts/write-typewriter.ps1) | Writes the given text with the typewriter effect. [More »](docs/write-typewriter.md) |
|
||||||
| [write-uppercase.ps1](scripts/write-uppercase.ps1) | Writes the given text in uppercase letters. [Read more...](docs/write-uppercase.md) |
|
| [write-uppercase.ps1](scripts/write-uppercase.ps1) | Writes the given text in uppercase letters. [More »](docs/write-uppercase.md) |
|
||||||
| [write-vertical.ps1](scripts/write-vertical.ps1) | Writes the given text in vertical direction. [Read more...](docs/write-vertical.md) |
|
| [write-vertical.ps1](scripts/write-vertical.ps1) | Writes the given text in vertical direction. [More »](docs/write-vertical.md) |
|
||||||
| [show-notification-motivation-quote.ps1](scripts/show-notification-motivation-quote.ps1) | Show notification with random cat picture and motivation quote. [Read more...](docs/show-notification-motivation-quote.md) |
|
| [show-notification-motivation-quote.ps1](scripts/show-notification-motivation-quote.ps1) | Show notification with random cat picture and motivation quote. [More »](docs/show-notification-motivation-quote.md) |
|
||||||
|
|
||||||
📧 Feedback
|
📧 Feedback
|
||||||
------------
|
------------
|
||||||
|
18
data/Jenkinsfile
vendored
18
data/Jenkinsfile
vendored
@ -1,18 +0,0 @@
|
|||||||
pipeline { // requires Jenkins plugin 'PowerShell'
|
|
||||||
agent any // job may run on any Jenkins node
|
|
||||||
stages {
|
|
||||||
stage ('Cleanup') {
|
|
||||||
steps {
|
|
||||||
echo "Pulled from ${env.GIT_URL}, branch ${env.GIT_BRANCH}, commit {$env.GIT_COMMIT} ..."
|
|
||||||
sh 'git clean -xdf'
|
|
||||||
sh 'git status'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
stage ('Health Check') {
|
|
||||||
steps {
|
|
||||||
echo "Starting build #${env.BUILD_NUMBER} on ${env.NODE_NAME} node ..."
|
|
||||||
powershell './scripts/check-health.ps1'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -10,6 +10,7 @@ APPLICATION, CATEGORY, APPID,
|
|||||||
"Google Chrome", "web browser", "Google.Chrome",
|
"Google Chrome", "web browser", "Google.Chrome",
|
||||||
"Greenshot", "screenshot utility", "9N8Z6RQX8LV8",
|
"Greenshot", "screenshot utility", "9N8Z6RQX8LV8",
|
||||||
"grepWin", "search tool", "StefansTools.grepWin",
|
"grepWin", "search tool", "StefansTools.grepWin",
|
||||||
|
"Helix", "text editor", "helix.helix",
|
||||||
"inSSIDer", "Wifi tool", "MetaGeek.inSSIDer",
|
"inSSIDer", "Wifi tool", "MetaGeek.inSSIDer",
|
||||||
"IrfanView", "image viewer", "9PJZ3BTL5PV6",
|
"IrfanView", "image viewer", "9PJZ3BTL5PV6",
|
||||||
"KDiff3", "file compare tool", "KDE.KDiff3",
|
"KDiff3", "file compare tool", "KDE.KDiff3",
|
||||||
@ -31,7 +32,7 @@ APPLICATION, CATEGORY, APPID,
|
|||||||
"Signal", "messenger", "OpenWhisperSystems.Signal",
|
"Signal", "messenger", "OpenWhisperSystems.Signal",
|
||||||
"smartmontools", "HDD/SSD utility", "smartmontools.smartmontools",
|
"smartmontools", "HDD/SSD utility", "smartmontools.smartmontools",
|
||||||
"Spotify", "audio player", "9NCBCSZSJRSB",
|
"Spotify", "audio player", "9NCBCSZSJRSB",
|
||||||
"Typora", "Markdown editor", "Typora.Typora",
|
"Typedown", "Markdown editor", "9P8TCW4H2HB4",
|
||||||
"Visual Studio Code", "code editor", "XP9KHM4BK9FZ7Q",
|
"Visual Studio Code", "code editor", "XP9KHM4BK9FZ7Q",
|
||||||
"VLC", "video player", "XPDM1ZW6815MQM",
|
"VLC", "video player", "XPDM1ZW6815MQM",
|
||||||
"Windows Terminal", "console terminal", "9N0DX20HK701",
|
"Windows Terminal", "console terminal", "9N0DX20HK701",
|
||||||
|
|
7
data/checklists/handwashing.md
Normal file
7
data/checklists/handwashing.md
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
The Handwashing Checklist
|
||||||
|
=========================
|
||||||
|
- [ ] Wet your hands with clean, running water (warm or cold), turn off the tap, and apply soap.
|
||||||
|
- [ ] Lather your hands by rubbing them together with the soap. Lather the backs of your hands, between your fingers, and under your nails.
|
||||||
|
- [ ] Scrub your hands for at least 20 seconds.
|
||||||
|
- [ ] Rinse your hands well under clean, running water.
|
||||||
|
- [ ] Dry your hands using a clean towel or air dry them.
|
@ -1,6 +0,0 @@
|
|||||||
HEAD Handwashing
|
|
||||||
Wet your hands with clean, running water (warm or cold), turn off the tap, and apply soap.
|
|
||||||
Lather your hands by rubbing them together with the soap. Lather the backs of your hands, between your fingers, and under your nails.
|
|
||||||
Scrub your hands for at least 20 seconds.
|
|
||||||
Rinse your hands well under clean, running water.
|
|
||||||
Dry your hands using a clean towel or air dry them.
|
|
81
data/checklists/travel_packing.md
Normal file
81
data/checklists/travel_packing.md
Normal file
@ -0,0 +1,81 @@
|
|||||||
|
# The Travel Packing Checklist
|
||||||
|
|
||||||
|
## At first the absolute necessities:
|
||||||
|
|
||||||
|
- [ ] Passport: Your gateway to international travel.
|
||||||
|
|
||||||
|
- [ ] Wallet: For your cash, cards, and identification.
|
||||||
|
- [ ] Cash: Have some local currency on hand for immediate expenses.
|
||||||
|
- [ ] Credit/Debit Cards: For larger transactions and emergencies.
|
||||||
|
- [ ] Phone: Your communication lifeline and entertainment hub.
|
||||||
|
- [ ] Phone Charger: Don't let your battery die on you.
|
||||||
|
- [ ] Travel Itinerary: Keep your schedule organized.
|
||||||
|
- [ ] Sunglasses: Protect your eyes and look stylish.
|
||||||
|
- [ ] Keys: For your home, car, or luggage locks.
|
||||||
|
- [ ] Clothing: Dress for Success and Comfort
|
||||||
|
|
||||||
|
## Pack a versatile wardrobe for any occasion:
|
||||||
|
|
||||||
|
- [ ] Tops: T-shirts for casual days, dress shirts for formal events, and sweaters/jackets for warmth.
|
||||||
|
|
||||||
|
- [ ] Bottoms: Jeans for everyday wear, trousers for dressier occasions, and shorts for warmer climates.
|
||||||
|
- [ ] Swimwear: If you're headed to the beach or pool.
|
||||||
|
- [ ] Undergarments: Don't forget your underwear and socks!
|
||||||
|
- [ ] Footwear: Casual shoes, formal shoes, sandals, and running shoes for various activities.
|
||||||
|
- [ ] Accessories: The Finishing Touches
|
||||||
|
|
||||||
|
## Complete your look with these essentials:
|
||||||
|
|
||||||
|
- [ ] Belt: To hold up your pants and add a touch of style.
|
||||||
|
|
||||||
|
- [ ] Watch: To keep track of time and accessorize.
|
||||||
|
- [ ] Hat/Cap: For sun protection or a fashion statement.
|
||||||
|
- [ ] Tie: If you have formal events planned.
|
||||||
|
- [ ] Cufflinks: For a sophisticated touch with dress shirts.
|
||||||
|
- [ ] Toiletries: Stay Fresh and Clean
|
||||||
|
|
||||||
|
## Maintain your personal hygiene on the go:
|
||||||
|
|
||||||
|
- [ ] Toothbrush/Toothpaste: For a bright smile.
|
||||||
|
|
||||||
|
- [ ] Deodorant: Stay smelling fresh.
|
||||||
|
- [ ] Shampoo/Conditioner: Keep your hair clean and healthy.
|
||||||
|
- [ ] Soap: For a refreshing shower or bath.
|
||||||
|
- [ ] Shaving Kit: If you prefer a clean-shaven look.
|
||||||
|
- [ ] Nail Clipper: For grooming on the go.
|
||||||
|
- [ ] Health and Wellness: Stay Prepared
|
||||||
|
|
||||||
|
Prioritize your well-being with these essentials:
|
||||||
|
|
||||||
|
- [ ] Prescription Medications: Don't forget any vital prescriptions.
|
||||||
|
|
||||||
|
- [ ] Pain Relievers: For unexpected headaches or aches.
|
||||||
|
- [ ] Vitamins/Supplements: Maintain your health on the road.
|
||||||
|
- [ ] First Aid Kit: For minor cuts, scrapes, or injuries.
|
||||||
|
- [ ] Tech Gadgets: Stay Connected and Entertained
|
||||||
|
|
||||||
|
Bring along your tech essentials:
|
||||||
|
|
||||||
|
- [ ] Laptop/Charger: For work or entertainment.
|
||||||
|
|
||||||
|
- [ ] Tablet/Charger: For reading, browsing, or watching videos.
|
||||||
|
- [ ] Earphones/Headphones: For music, podcasts, or privacy.
|
||||||
|
- [ ] Power Bank: Keep your devices charged on the go.
|
||||||
|
- [ ] Documents: Important Paperwork
|
||||||
|
|
||||||
|
Ensure you have all necessary documents:
|
||||||
|
|
||||||
|
- [ ] Travel Insurance: For peace of mind in case of unforeseen events.
|
||||||
|
|
||||||
|
- [ ] Tickets (Flight/Train/Bus): Don't forget your travel documents.
|
||||||
|
- [ ] Hotel Reservations: Keep your accommodation details handy.
|
||||||
|
- [ ] Emergency Contacts: In case you need to reach out to someone.
|
||||||
|
- [ ] Miscellaneous: The Extras
|
||||||
|
|
||||||
|
These items can enhance your travel experience:
|
||||||
|
|
||||||
|
- [ ] Books/Magazines: For entertainment during downtime.
|
||||||
|
- [ ] Snacks: Keep your hunger at bay between meals.
|
||||||
|
- [ ] Reusable Water Bottle: Stay hydrated and reduce waste.
|
||||||
|
- [ ] Travel Pillow: For comfort during long journeys.
|
||||||
|
- [ ] Umbrella: Be prepared for unexpected rain.
|
File diff suppressed because it is too large
Load Diff
@ -297,6 +297,7 @@ NINS,National Institutes of Natural Sciences
|
|||||||
NIRPS,(NNT) Near Infra Red Planet Searcher
|
NIRPS,(NNT) Near Infra Red Planet Searcher
|
||||||
NOVA,The Netherlands Research School for Astronomy (Nederlandse Onderzoekschool voor Astronomie)
|
NOVA,The Netherlands Research School for Astronomy (Nederlandse Onderzoekschool voor Astronomie)
|
||||||
NRAO,National Radio Astronomy Observatory
|
NRAO,National Radio Astronomy Observatory
|
||||||
|
NRQZ,(U.S.) National Radio Quiet Zone
|
||||||
NSF,National Science Foundation
|
NSF,National Science Foundation
|
||||||
NTT,New Technology Telescope
|
NTT,New Technology Telescope
|
||||||
NUVA,Network for UltraViolet Astrophysics
|
NUVA,Network for UltraViolet Astrophysics
|
||||||
|
|
@ -1,5 +1,7 @@
|
|||||||
TERM,MEANING
|
TERM,MEANING
|
||||||
3P,"Perceive, Process, Perform"
|
3P,"Perceive, Process, Perform"
|
||||||
|
5ANNC,Five Letter Alpha Numeric Code
|
||||||
|
5LNC,Five Letter Naming Code
|
||||||
5P,"Plan, Plane, Pilot, Passengers, Programming"
|
5P,"Plan, Plane, Pilot, Passengers, Programming"
|
||||||
7500,"Transponder code for Aircraft hijacking (ICAO)"
|
7500,"Transponder code for Aircraft hijacking (ICAO)"
|
||||||
7600,"Transponder code for Radio failure (lost communications, ICAO)"
|
7600,"Transponder code for Radio failure (lost communications, ICAO)"
|
||||||
@ -41,6 +43,7 @@ ACARS,Aircraft Communications Addressing and Reporting System
|
|||||||
ACAS,Airborne Collision Avoidance System
|
ACAS,Airborne Collision Avoidance System
|
||||||
ACC,Area Control Center
|
ACC,Area Control Center
|
||||||
ACE,Airport airside Capacity Enhancement
|
ACE,Airport airside Capacity Enhancement
|
||||||
|
ACFT,Aircraft
|
||||||
ACI,"Airports Council International, Area of Common Interest"
|
ACI,"Airports Council International, Area of Common Interest"
|
||||||
ACP,Accept
|
ACP,Accept
|
||||||
AD,Air Defence
|
AD,Air Defence
|
||||||
@ -137,6 +140,7 @@ AR,Aspect Ratio
|
|||||||
ARAC,Army Radar Approach Control (AAF)
|
ARAC,Army Radar Approach Control (AAF)
|
||||||
ARFOR,Area Forecast
|
ARFOR,Area Forecast
|
||||||
ARINC,Aeronautical Radio, Inc. (USA)
|
ARINC,Aeronautical Radio, Inc. (USA)
|
||||||
|
ARNS,Aeronautical Radio Navigation Service
|
||||||
ARLNO,Airline Office
|
ARLNO,Airline Office
|
||||||
ARP,Airport Reference Point
|
ARP,Airport Reference Point
|
||||||
ARTCC,Air Route Traffic Control Centre
|
ARTCC,Air Route Traffic Control Centre
|
||||||
@ -247,6 +251,7 @@ DFL,Division Flight Level
|
|||||||
DFS,Deutsche Flugsicherung (ATC in Germany)
|
DFS,Deutsche Flugsicherung (ATC in Germany)
|
||||||
DGAC,Direction Générale de l'Aviation Civile
|
DGAC,Direction Générale de l'Aviation Civile
|
||||||
DLA,Defense Logistics Agency
|
DLA,Defense Logistics Agency
|
||||||
|
DME,Distance Measuring Equipment
|
||||||
DP,Departure Procedure
|
DP,Departure Procedure
|
||||||
DSNA,Direction des Services de la Navigation Aérienne
|
DSNA,Direction des Services de la Navigation Aérienne
|
||||||
DTI,Direction Technique Innovation
|
DTI,Direction Technique Innovation
|
||||||
@ -264,6 +269,7 @@ ELEV,Field Elevation
|
|||||||
ELT,Emergency Locator Transmitter
|
ELT,Emergency Locator Transmitter
|
||||||
ENR,En-Route
|
ENR,En-Route
|
||||||
EOL,Engine-off landing
|
EOL,Engine-off landing
|
||||||
|
ERAU,Embry-Riddle Aeronautical University (Daytona Beach, Florida)
|
||||||
ERPM,Engine Rotations per Minute
|
ERPM,Engine Rotations per Minute
|
||||||
eSTOL,Electric Short Take-off and Landing
|
eSTOL,Electric Short Take-off and Landing
|
||||||
ETA,"Estimated Time of Arrival, East Transition Area"
|
ETA,"Estimated Time of Arrival, East Transition Area"
|
||||||
@ -276,6 +282,7 @@ FAA,U.S. Federal Aviation Administration
|
|||||||
FAR,"Fuel Air Ratio, Federal Aviation Regulations"
|
FAR,"Fuel Air Ratio, Federal Aviation Regulations"
|
||||||
FAS,Final Approach Segment
|
FAS,Final Approach Segment
|
||||||
FAS,Final Approach Speed
|
FAS,Final Approach Speed
|
||||||
|
FASF,French Air and Space Force
|
||||||
FAST,Future Aviation Safety Team
|
FAST,Future Aviation Safety Team
|
||||||
FAT,Factory Acceptance Test (see also SAT and RAT)
|
FAT,Factory Acceptance Test (see also SAT and RAT)
|
||||||
FAT,Final Approach Track
|
FAT,Final Approach Track
|
||||||
@ -307,6 +314,7 @@ FOD,Foreign Object Debris
|
|||||||
FOV,Field of View
|
FOV,Field of View
|
||||||
FWC,Flight Warning Computer
|
FWC,Flight Warning Computer
|
||||||
GA,"General Aviation, Go Around (VFR)"
|
GA,"General Aviation, Go Around (VFR)"
|
||||||
|
GAF,German Air Force
|
||||||
GND,Ground
|
GND,Ground
|
||||||
GP,Glide Path
|
GP,Glide Path
|
||||||
GPS,Global Positioning System
|
GPS,Global Positioning System
|
||||||
@ -321,6 +329,7 @@ IANS,Institute of Air Navigation Services, a division of Eurocontrol
|
|||||||
IAS,Indicated airspeed
|
IAS,Indicated airspeed
|
||||||
IATA,"International Air Transport Association, HQ in Montreal, Canada"
|
IATA,"International Air Transport Association, HQ in Montreal, Canada"
|
||||||
ICA,Initial Climb Area
|
ICA,Initial Climb Area
|
||||||
|
ICARD,International Codes and Route Designators
|
||||||
IFE,In-flight Emergency
|
IFE,In-flight Emergency
|
||||||
IFR,Instrument Flight Rules
|
IFR,Instrument Flight Rules
|
||||||
IG,Image Generator
|
IG,Image Generator
|
||||||
@ -357,6 +366,7 @@ MCP,Maximum Continuous Power
|
|||||||
MGTOW,Maximum Gross Take-off Weight
|
MGTOW,Maximum Gross Take-off Weight
|
||||||
MLW,Maximum Landing Weight
|
MLW,Maximum Landing Weight
|
||||||
MMR,Multi-Mode Receiver
|
MMR,Multi-Mode Receiver
|
||||||
|
MRTT,Multi-Role Tanker Transport
|
||||||
MSA,Minimum Safe Altitude
|
MSA,Minimum Safe Altitude
|
||||||
MSL,Median Sea Level
|
MSL,Median Sea Level
|
||||||
MSTA,Minimum Safe Turning Altitude
|
MSTA,Minimum Safe Turning Altitude
|
||||||
@ -366,24 +376,30 @@ NATOPS,Naval Aviation Training and Operating Procedures Standardization
|
|||||||
NATS,National Air Traffic Services (UK)
|
NATS,National Air Traffic Services (UK)
|
||||||
NAVAIDS,Navigational Aids
|
NAVAIDS,Navigational Aids
|
||||||
NCOIC,Non-Commissioned Officer in Charge
|
NCOIC,Non-Commissioned Officer in Charge
|
||||||
|
NDB,Non-Directional Beacon
|
||||||
NIMA,National Imagery Mapping Agency
|
NIMA,National Imagery Mapping Agency
|
||||||
NLFS,Night Low Flying System
|
NLFS,Night Low Flying System
|
||||||
NM,Nautical Mile
|
NM,Nautical Mile
|
||||||
NORDO,No Radio
|
NORDO,No Radio
|
||||||
NOTAM,Notice to Airmen or Notice to Air Missions
|
NOTAM,Notice to Airmen or Notice to Air Missions
|
||||||
|
NRS,Navigation Reference System
|
||||||
NUAIR,Northeast UAS Airspace Integration Research (a New York based nonprofit organization)
|
NUAIR,Northeast UAS Airspace Integration Research (a New York based nonprofit organization)
|
||||||
OCS,Obstacle Clearance Surfaces
|
OCS,Obstacle Clearance Surfaces
|
||||||
OCTA,Outside Control Areas
|
OCTA,Outside Control Areas
|
||||||
OEI,One Engine Inoperative
|
OEI,One Engine Inoperative
|
||||||
ODP,Obstacle Departure Procedure
|
ODP,Obstacle Departure Procedure
|
||||||
OGE,Out of Ground Effect
|
OGE,Out of Ground Effect
|
||||||
|
OID,Operational Instrument Departure
|
||||||
OFZ,Obstacle Free Zone
|
OFZ,Obstacle Free Zone
|
||||||
OJT,On the Job Training
|
OJT,On-the-Job Training
|
||||||
|
OJTI,On-the-Job Training Instructor
|
||||||
OODA,"Observation, Orientation, Decision, and Action"
|
OODA,"Observation, Orientation, Decision, and Action"
|
||||||
ORCAM,Originating Region Code Assignment Method
|
ORCAM,Originating Region Code Assignment Method
|
||||||
OSC,On Scene Commander
|
OSC,On Scene Commander
|
||||||
|
OWE,Operational Weight Empty
|
||||||
PA,Pressure Altitude
|
PA,Pressure Altitude
|
||||||
PADS,Parallax Aircraft Docking System
|
PADS,Parallax Aircraft Docking System
|
||||||
|
PANSA,Polish Air Navigation Services Agency
|
||||||
PAPA,"Parallax Aircraft Parking Aid (docking system)"
|
PAPA,"Parallax Aircraft Parking Aid (docking system)"
|
||||||
PAPI,Precision Approach Path Indicator
|
PAPI,Precision Approach Path Indicator
|
||||||
PAR,Precision Approach Radar
|
PAR,Precision Approach Radar
|
||||||
@ -411,6 +427,7 @@ RASP,Recognised Air and Surveillance Picture
|
|||||||
RB,Relative Bearing
|
RB,Relative Bearing
|
||||||
RBI,Relative Bearing Indicator
|
RBI,Relative Bearing Indicator
|
||||||
RBAF,Royal Belgium Armed Forces
|
RBAF,Royal Belgium Armed Forces
|
||||||
|
RBL,Range Bearing Line
|
||||||
RCAF,Royal Canadian Air Force
|
RCAF,Royal Canadian Air Force
|
||||||
RCC,Rescue Coordination Center
|
RCC,Rescue Coordination Center
|
||||||
RCL,Runway Centre Line Lighting
|
RCL,Runway Centre Line Lighting
|
||||||
@ -431,6 +448,7 @@ RNAV,Area Navigation
|
|||||||
RNP,Required Navigation Performance
|
RNP,Required Navigation Performance
|
||||||
ROC,Rate Of Climb
|
ROC,Rate Of Climb
|
||||||
ROC,Required Obstacle Clearance
|
ROC,Required Obstacle Clearance
|
||||||
|
ROKAF,Republic of Korea Air Force
|
||||||
RPS,Radar Position Symbol
|
RPS,Radar Position Symbol
|
||||||
RRPM,Rotor Rotations per Minute
|
RRPM,Rotor Rotations per Minute
|
||||||
RSA,Runway Safety Area
|
RSA,Runway Safety Area
|
||||||
@ -439,6 +457,7 @@ RSC,Runway Surface Condition
|
|||||||
RSI,Remote Status Indicator
|
RSI,Remote Status Indicator
|
||||||
RSO,Range Safety Officer
|
RSO,Range Safety Officer
|
||||||
RSRS,Reduced Same Runway Separation
|
RSRS,Reduced Same Runway Separation
|
||||||
|
RSU,Runway Supervisory Unit
|
||||||
RTAF,Royal Thai Air Force
|
RTAF,Royal Thai Air Force
|
||||||
RTCA,Radio Technical Commission for Aeronautics
|
RTCA,Radio Technical Commission for Aeronautics
|
||||||
RTF,Radio Telephony
|
RTF,Radio Telephony
|
||||||
@ -450,6 +469,7 @@ SADL,Situational Awareness Data Link
|
|||||||
SAF,Sustainable Aviation Fuel
|
SAF,Sustainable Aviation Fuel
|
||||||
SAR,"Search and Rescue, Synthetic Aperture Radar"
|
SAR,"Search and Rescue, Synthetic Aperture Radar"
|
||||||
SARPS,Standards and Recommended Practices (ICAO)
|
SARPS,Standards and Recommended Practices (ICAO)
|
||||||
|
SASF,Spanish Air and Space Force
|
||||||
SAT,Site Acceptance Test (see also FAT and RAT)
|
SAT,Site Acceptance Test (see also FAT and RAT)
|
||||||
SATCO,Senior Air Traffic Control Officer
|
SATCO,Senior Air Traffic Control Officer
|
||||||
SATCOM,Satellite Communication
|
SATCOM,Satellite Communication
|
||||||
@ -546,6 +566,7 @@ TRA,Temporary Reserved Area
|
|||||||
TRACON,Terminal Radar Approach Control
|
TRACON,Terminal Radar Approach Control
|
||||||
TRH,Thrust Reduction Height
|
TRH,Thrust Reduction Height
|
||||||
TSA,Temporary Segregated Area
|
TSA,Temporary Segregated Area
|
||||||
|
TSAT,Target Startup Approval Time
|
||||||
TSO,Technical Standard Order
|
TSO,Technical Standard Order
|
||||||
TSTC,Texas State Technical College
|
TSTC,Texas State Technical College
|
||||||
TT,True Track
|
TT,True Track
|
||||||
@ -568,6 +589,7 @@ UFA,"UFA, Inc., the world's premier developer of Air Traffic Control simulation
|
|||||||
UHF,Ultra High Frequency (300MHz to 3 GHz)
|
UHF,Ultra High Frequency (300MHz to 3 GHz)
|
||||||
UIR,Upper Flight Information Region
|
UIR,Upper Flight Information Region
|
||||||
UKCAA,United Kingdom Civil Aviation Authority
|
UKCAA,United Kingdom Civil Aviation Authority
|
||||||
|
UkSATSE,Ukranian State Air Traffic Services Enterprise
|
||||||
UMASS,University of Massachusetts
|
UMASS,University of Massachusetts
|
||||||
UNL,Unlimited
|
UNL,Unlimited
|
||||||
URET,User Request Evaluation Tool
|
URET,User Request Evaluation Tool
|
||||||
|
Can't render this file because it has a wrong number of fields in line 142.
|
@ -8,8 +8,7 @@ AACC,American Association for Clinical Chemistry
|
|||||||
AADC,Amino Acid DeCarboxylase
|
AADC,Amino Acid DeCarboxylase
|
||||||
AADC,Aromatic L-Amino acid DeCarboxylase
|
AADC,Aromatic L-Amino acid DeCarboxylase
|
||||||
AAS,Atomic Absorption Spectroscopy
|
AAS,Atomic Absorption Spectroscopy
|
||||||
AB,Acid Base
|
AB,"Acid Base, Acid Bath"
|
||||||
AB,Acid Bath
|
|
||||||
ABCC,Advanced Biomedical Computing Center
|
ABCC,Advanced Biomedical Computing Center
|
||||||
ABCC,American Board of Clinical Chemistry
|
ABCC,American Board of Clinical Chemistry
|
||||||
ABS,"Absorb, Acrylonitrile Butadiene Styrene"
|
ABS,"Absorb, Acrylonitrile Butadiene Styrene"
|
||||||
@ -317,17 +316,14 @@ G,Gibbs Free Energy
|
|||||||
G,"Giga prefix (109)"
|
G,"Giga prefix (109)"
|
||||||
G,"Glycine g,gram"
|
G,"Glycine g,gram"
|
||||||
G,Guanosine
|
G,Guanosine
|
||||||
Ga,Gallium
|
Ga,Gallium or Gauge
|
||||||
Ga,Gauge
|
GaF,"Gallium(I)-fluorid"
|
||||||
GABA,Gamma-AminoButyric Acid
|
GABA,Gamma-AminoButyric Acid
|
||||||
GAD,Glutamate Decarboxylase
|
GAD,Glutamate Decarboxylase
|
||||||
GAG,Glycosaminoglycan
|
GAG,Glycosaminoglycan
|
||||||
GBB,Gas Blow Back
|
GBB,Gas Blow Back
|
||||||
GC,Geiger Counter
|
GC,Geiger Counter
|
||||||
GCC,Global Carbon Cycle
|
GCC,"Global Carbon Cycle, Global Climate Change, Glucocorticoid, or: Guanylyl Cyclase C"
|
||||||
GCC,Global Climate Change
|
|
||||||
GCC,Glucocorticoid
|
|
||||||
GCC,Guanylyl Cyclase C
|
|
||||||
GCMS,Gas Chromatographic Mass Spectrometer
|
GCMS,Gas Chromatographic Mass Spectrometer
|
||||||
Gd,Gadolinium
|
Gd,Gadolinium
|
||||||
GDP,Guanosine DiPhosphate
|
GDP,Guanosine DiPhosphate
|
||||||
@ -734,8 +730,7 @@ OV,Organic Vapor
|
|||||||
OVA,Organic Vapor Analyser
|
OVA,Organic Vapor Analyser
|
||||||
OVA,OVAlbumin
|
OVA,OVAlbumin
|
||||||
OWC,Oil-Water Contact
|
OWC,Oil-Water Contact
|
||||||
OX,Oxidation
|
OX,"Oxidation, Oxygen"
|
||||||
OX,oxygen
|
|
||||||
OXA,OXanilic Acid
|
OXA,OXanilic Acid
|
||||||
OXT,OXyTocin
|
OXT,OXyTocin
|
||||||
OXY,Oxygen
|
OXY,Oxygen
|
||||||
@ -743,17 +738,14 @@ p+,Proton
|
|||||||
P,Peta prefix (1015)
|
P,Peta prefix (1015)
|
||||||
P,Phosphorus
|
P,Phosphorus
|
||||||
p,pico prefix (10-12)
|
p,pico prefix (10-12)
|
||||||
P,Pressure
|
P,"Pressure, Proton"
|
||||||
P,Proton
|
|
||||||
Pa,Pascal
|
Pa,Pascal
|
||||||
PA,Phosphatidic Acid
|
PA,Phosphatidic Acid
|
||||||
Pa,Protactinium
|
Pa,Protactinium
|
||||||
PA,Proton Affinity
|
PA,Proton Affinity
|
||||||
PAA,PolyAcrylic Acid
|
PAA,PolyAcrylic Acid
|
||||||
PABA,ParaAminoBenzoic Acid
|
PABA,ParaAminoBenzoic Acid
|
||||||
PAC,Pharmaceutically Active Compound
|
PAC,"Pharmaceutically Active Compound, Polycyclic Aromatic Content, Powdered Activated Carbon"
|
||||||
PAC,Polycyclic Aromatic Content
|
|
||||||
PAC,Powdered Activated Carbon
|
|
||||||
PAEK,PolyArylEtherKetone
|
PAEK,PolyArylEtherKetone
|
||||||
PAGE,PolyAcrylamide Gel Electrophoresis
|
PAGE,PolyAcrylamide Gel Electrophoresis
|
||||||
PAH,Polycyclic Aromatic Hydrocarbon
|
PAH,Polycyclic Aromatic Hydrocarbon
|
||||||
@ -768,19 +760,15 @@ PBI,PolyBenzImidazole
|
|||||||
PBN,PolyButylene Naphthalate
|
PBN,PolyButylene Naphthalate
|
||||||
PBS,Phosphate Buffered Saline
|
PBS,Phosphate Buffered Saline
|
||||||
PBT,PolyButylene Terephthalate
|
PBT,PolyButylene Terephthalate
|
||||||
PC,PolyCarbonate
|
PC,"PolyCarbonate, Pyruvate Carboxylase"
|
||||||
PC,Pyruvate Carboxylase
|
|
||||||
PCA,Pyrrolidone Carboxylic Acid
|
PCA,Pyrrolidone Carboxylic Acid
|
||||||
PCC,Pyridine Chloro Chromate
|
PCC,Pyridine Chloro Chromate
|
||||||
PCE,Tetrachloroethylene
|
PCE,Tetrachloroethylene
|
||||||
PCR,Polymerase Chain Reaction
|
PCR,Polymerase Chain Reaction
|
||||||
PCV,Pressure Control Valve
|
PCV,Pressure Control Valve
|
||||||
Pd,Palladium
|
Pd,Palladium
|
||||||
PD,Positive Displacement
|
PD,"Positive Displacement, Potential Difference"
|
||||||
PD,Potential Difference
|
PE,"PhycoErythrin, Polyethylene, Potential Energy"
|
||||||
PE,PhycoErythrin
|
|
||||||
PE,Polyethylene
|
|
||||||
PE,Potential Energy
|
|
||||||
PEA,PolyEster Amine
|
PEA,PolyEster Amine
|
||||||
PEEK,PolyEtherEtherKetone
|
PEEK,PolyEtherEtherKetone
|
||||||
PEG,PolyEthylene Glycol
|
PEG,PolyEthylene Glycol
|
||||||
@ -806,17 +794,14 @@ PHB,PolyHydroxyButyrate
|
|||||||
PHC,Petroleum HydroCarbon
|
PHC,Petroleum HydroCarbon
|
||||||
PHMB,PolyHexaMethyleneBiguanide
|
PHMB,PolyHexaMethyleneBiguanide
|
||||||
PHT,PHThalate
|
PHT,PHThalate
|
||||||
PI,Phosphate Ion
|
PI,"Phosphate Ion, PolyImide"
|
||||||
PI,PolyImide
|
|
||||||
PIB,PolyIsoButylene
|
PIB,PolyIsoButylene
|
||||||
pK,measurement of the dissociation constant
|
pK,measurement of the dissociation constant
|
||||||
PLA,Polymerized Lactic Acid
|
PLA,Polymerized Lactic Acid
|
||||||
PLC,PhosphoLipase-C
|
PLC,PhosphoLipase-C
|
||||||
PM,Particulate Matter
|
PM,"Particulate Matter, Photo Multiplier"
|
||||||
PM,Photo Multiplier
|
|
||||||
pm,picometer
|
pm,picometer
|
||||||
PM,Plasma Membrane
|
PM,"Plasma Membrane, Powder Metallurgy"
|
||||||
PM,Powder Metallurgy
|
|
||||||
Pm,Promethium
|
Pm,Promethium
|
||||||
PM10,Particulates smaller than 10 μm.
|
PM10,Particulates smaller than 10 μm.
|
||||||
PM3,Parameterized Model number 3
|
PM3,Parameterized Model number 3
|
||||||
@ -833,15 +818,12 @@ pOH,measurement of OH- ions in aqueous solution
|
|||||||
POL,"Petroleum, Oils, and Lubricants"
|
POL,"Petroleum, Oils, and Lubricants"
|
||||||
POP,Persistent Organic Pollutant
|
POP,Persistent Organic Pollutant
|
||||||
PORC,Porcelain
|
PORC,Porcelain
|
||||||
PPA,PhenylPropanolAmine
|
PPA,"PhenylPropanolAmine, PolyPhthalAmide"
|
||||||
PPA,PolyPhthalAmide
|
|
||||||
ppb,Parts per billion
|
ppb,Parts per billion
|
||||||
ppm,Parts per million
|
ppm,Parts per million
|
||||||
PPO,PolyPhenylene Oxide
|
PPO,PolyPhenylene Oxide
|
||||||
PPS,PolyPhenylene Sulfide
|
PPS,PolyPhenylene Sulfide
|
||||||
PPT,Parts Per Trillion
|
PPT,"Parts Per Trillion, PolyPyrimidine Tract, Precipitate"
|
||||||
PPT,PolyPyrimidine Tract
|
|
||||||
PPT,Precipitate
|
|
||||||
Pr,Praseodymium
|
Pr,Praseodymium
|
||||||
PRV,Pressure Relief Valve
|
PRV,Pressure Relief Valve
|
||||||
PSI,Pounds per Square Inch
|
PSI,Pounds per Square Inch
|
||||||
@ -850,8 +832,7 @@ Pt,Platinum
|
|||||||
PTFE,PolyTetraFluoroEthylene
|
PTFE,PolyTetraFluoroEthylene
|
||||||
Pu,Plutonium
|
Pu,Plutonium
|
||||||
PU,PolyUrethane
|
PU,PolyUrethane
|
||||||
PV,Parity Violation
|
PV,"Parity Violation, Pressure Volume"
|
||||||
PV,Pressure Volume
|
|
||||||
PVC,PolyVinyl Chloride
|
PVC,PolyVinyl Chloride
|
||||||
PVT,"Pressure, Volume, Temperature"
|
PVT,"Pressure, Volume, Temperature"
|
||||||
PXY,Para-XYlene
|
PXY,Para-XYlene
|
||||||
@ -859,11 +840,9 @@ Q,Heat energy
|
|||||||
QA,Quinolinic Acid
|
QA,Quinolinic Acid
|
||||||
QC,Quality Control
|
QC,Quality Control
|
||||||
QCD,Quantum ChromoDynamics
|
QCD,Quantum ChromoDynamics
|
||||||
QED,Quantum ElectroDynamics
|
QED,"Quantum ElectroDynamics, Quod Erat Demonstradum (Latin for “which was to be demonstrated”)"
|
||||||
QED,Quod Erat Demonstradum (Latin for “which was to be demonstrated”)
|
|
||||||
QM,Quantum Mechanics
|
QM,Quantum Mechanics
|
||||||
QS,Quantum State
|
QS,"Quantum State, Quantum Sufficit (Latin for “as much as needed”)"
|
||||||
QS,Quantum Sufficit (Latin for “as much as needed”)
|
|
||||||
qt,quart
|
qt,quart
|
||||||
QW,Quit Whining
|
QW,Quit Whining
|
||||||
QY,Quantum Yield
|
QY,Quantum Yield
|
||||||
@ -888,8 +867,7 @@ RBD,"Refined, Bleached and Deodorized"
|
|||||||
RCS,Reactive Chemical Species
|
RCS,Reactive Chemical Species
|
||||||
RDA,Recommended Daily Allowance
|
RDA,Recommended Daily Allowance
|
||||||
RDT,Recombinant DNA Technology
|
RDT,Recombinant DNA Technology
|
||||||
RDX,cyclotrimethylenetrinitramine
|
RDX,"cyclotrimethylenetrinitramine, Research Department Explosive"
|
||||||
RDX,Research Department Explosive
|
|
||||||
RE,Rare Earth
|
RE,Rare Earth
|
||||||
Re,Rhenium
|
Re,Rhenium
|
||||||
REACH,"Registration, Evaluation, Authorization, and restriction of CHemical substances"
|
REACH,"Registration, Evaluation, Authorization, and restriction of CHemical substances"
|
||||||
@ -899,8 +877,7 @@ rem,"Radiation Equivalent, Man"
|
|||||||
REM,Rare Earth Metal
|
REM,Rare Earth Metal
|
||||||
REQ,Required
|
REQ,Required
|
||||||
RER,Respiratory Exchange Ratio
|
RER,Respiratory Exchange Ratio
|
||||||
RF,Radio Frequency
|
RF,"Radio Frequency, Resonance Frequency"
|
||||||
RF,Resonance Frequency
|
|
||||||
Rf,Rutherfordium
|
Rf,Rutherfordium
|
||||||
RFIC,Reagent-Free Ion Chromatography
|
RFIC,Reagent-Free Ion Chromatography
|
||||||
RFM,Relative Formula Mass
|
RFM,Relative Formula Mass
|
||||||
@ -927,9 +904,7 @@ ROS,Reactive Oxygen Species
|
|||||||
ROWPU,Reverse Osmosis Water Purification Unit
|
ROWPU,Reverse Osmosis Water Purification Unit
|
||||||
RPT,Repeat
|
RPT,Repeat
|
||||||
RSC,Royal Society of Chemistry
|
RSC,Royal Society of Chemistry
|
||||||
RT,Energy (Rydberg Constant x Temperature)
|
RT,"Energy (Rydberg Constant x Temperature), Reverse Transcriptase, Room Temperature"
|
||||||
RT,Reverse Transcriptase
|
|
||||||
RT,Room Temperature
|
|
||||||
RTM,Read The Manual
|
RTM,Read The Manual
|
||||||
RTP,Room Temperature and Pressure
|
RTP,Room Temperature and Pressure
|
||||||
RTSC,Room Temperature Super Conductor
|
RTSC,Room Temperature Super Conductor
|
||||||
@ -977,18 +952,16 @@ Se,Selenium
|
|||||||
Sec,Seconds
|
Sec,Seconds
|
||||||
SEP,Separate
|
SEP,Separate
|
||||||
SEU,Slightly Enriched Uranium
|
SEU,Slightly Enriched Uranium
|
||||||
SF,Safety Factor
|
SF,"Safety Factor, Significant Figures"
|
||||||
SF,Significant Figures
|
|
||||||
SFC,Supercritical Fluid Chromatography
|
SFC,Supercritical Fluid Chromatography
|
||||||
SFPM,Suspended Fine Particulate Matter
|
SFPM,Suspended Fine Particulate Matter
|
||||||
Sg,Seaborgium
|
Sg,Seaborgium
|
||||||
SG,Specific Gravity
|
SG,"Specific Gravity, Spheroidal Graphite"
|
||||||
SG,Spheroidal Graphite
|
|
||||||
SH,Thiol functional group
|
SH,Thiol functional group
|
||||||
SHC,Synthetic HydroCarbon
|
SHC,Synthetic HydroCarbon
|
||||||
SHE,Standard Hydrogen Electrode
|
SHE,Standard Hydrogen Electrode
|
||||||
SHF,Super High Frequency
|
SHF,Super High Frequency
|
||||||
SI units,Système international d’unités (International System of Units)
|
SI,"Système international d’unités (International System of Units)"
|
||||||
Si,Silicon
|
Si,Silicon
|
||||||
SL,Sea Level
|
SL,Sea Level
|
||||||
SL,Short Lived
|
SL,Short Lived
|
||||||
@ -1028,8 +1001,7 @@ TAC,Teiacetyl Cellulose
|
|||||||
TAG,TriAcylGlyceride
|
TAG,TriAcylGlyceride
|
||||||
tan,tangent
|
tan,tangent
|
||||||
TAN,Total Acid Number
|
TAN,Total Acid Number
|
||||||
TAS,Total Alkali versus Silica
|
TAS,"Total Alkali versus Silica, Total Analysis System"
|
||||||
TAS,Total Analysis System
|
|
||||||
TAT,TriAcetone TriPeroxide
|
TAT,TriAcetone TriPeroxide
|
||||||
Tb,Terbium
|
Tb,Terbium
|
||||||
TBA,"2,4,6-TriBromoAnisole"
|
TBA,"2,4,6-TriBromoAnisole"
|
||||||
@ -1038,22 +1010,15 @@ TBC,4-TertButylCatechol
|
|||||||
TBHQ,TertButylHydroQuinone
|
TBHQ,TertButylHydroQuinone
|
||||||
TBP,True Boiling Point
|
TBP,True Boiling Point
|
||||||
TBT,TriButylTin
|
TBT,TriButylTin
|
||||||
Tc,Critical Temperature
|
Tc,"Critical Temperature, Technitium"
|
||||||
Tc,Technitium
|
TC,"Temperature Compensated, Temperature Controlled, Theoretical Chemistry"
|
||||||
TC,Temperature Compensated
|
|
||||||
TC,Temperature Controlled
|
|
||||||
TC,Theoretical Chemistry
|
|
||||||
TCA,TauroCholic Acid
|
TCA,TauroCholic Acid
|
||||||
TCA,TCA cycle (citric acid cycle)
|
TCA,TCA cycle (citric acid cycle)
|
||||||
TCA,TriChloroAcetic Acid
|
TCA,TriChloroAcetic Acid
|
||||||
TCE,TriChloroEthane
|
TCE,TriChloroEthane
|
||||||
TCF,ThiolCarbon Fiber
|
TCF,ThiolCarbon Fiber
|
||||||
TCM,TetraChloromethane
|
TCM,TetraChloromethane
|
||||||
TCP,"1,2,3-TriChloropropane"
|
TCP,"1,2,3-TriChloropropane, Thermal Conversion Process, Tocopherol, TriCalcium Phosphate, TriChloroPhenol"
|
||||||
TCP,Thermal Conversion Process
|
|
||||||
TCP,Tocopherol
|
|
||||||
TCP,TriCalcium Phosphate
|
|
||||||
TCP,TriChloroPhenol
|
|
||||||
TCS,Toxic Chemical System
|
TCS,Toxic Chemical System
|
||||||
TCT,ToCoTrienol
|
TCT,ToCoTrienol
|
||||||
TCV,Temperature Control Valve
|
TCV,Temperature Control Valve
|
||||||
@ -1100,8 +1065,7 @@ TOC,Total Organic Carbon
|
|||||||
TOI,Table Of Isotopes
|
TOI,Table Of Isotopes
|
||||||
TON,Table Of Nuclides
|
TON,Table Of Nuclides
|
||||||
TOX,Toxic
|
TOX,Toxic
|
||||||
TP,Transition Point
|
TP,"Transition Point, Triple Point"
|
||||||
TP,Triple Point
|
|
||||||
TPE,ThermoPlastic Elastomer
|
TPE,ThermoPlastic Elastomer
|
||||||
TPM,Total Particulate Matter
|
TPM,Total Particulate Matter
|
||||||
TR,Table Row
|
TR,Table Row
|
||||||
@ -1125,16 +1089,13 @@ TTX,Tetrodotoxin
|
|||||||
TU,Thermally Unbound
|
TU,Thermally Unbound
|
||||||
TWMC,Time Weighted Mean Concentration
|
TWMC,Time Weighted Mean Concentration
|
||||||
TWV,Total Water Vapor
|
TWV,Total Water Vapor
|
||||||
U,Internal Energy
|
U,"Internal Energy, Undetectable, Uranium"
|
||||||
U,Undetectable
|
|
||||||
U,Uranium
|
|
||||||
UAFM,Uranyl Acetate Fluorescence Method
|
UAFM,Uranyl Acetate Fluorescence Method
|
||||||
UCK,Universal Chemical Key
|
UCK,Universal Chemical Key
|
||||||
UG,"Undisturbed Gas UHC,Unburned HydroCarbons"
|
UG,"Undisturbed Gas UHC,Unburned HydroCarbons"
|
||||||
UHF,Ultra High Frequency
|
UHF,Ultra High Frequency
|
||||||
UHMW,Ultra High Molecular Weight
|
UHMW,Ultra High Molecular Weight
|
||||||
UHP,Ultra High Pressure
|
UHP,"Ultra High Pressure, Ultra High Purity"
|
||||||
UHP,Ultra High Purity
|
|
||||||
UHT,Ultra High Temperature
|
UHT,Ultra High Temperature
|
||||||
UHV,Ultra High Vacuum
|
UHV,Ultra High Vacuum
|
||||||
ULG,Universal Liquid Gas
|
ULG,Universal Liquid Gas
|
||||||
@ -1162,38 +1123,27 @@ UVL,UltraViolet Lamp
|
|||||||
UVR,UltraViolet Reactive
|
UVR,UltraViolet Reactive
|
||||||
UXS,Glucuronic Acid DeCarboxylase
|
UXS,Glucuronic Acid DeCarboxylase
|
||||||
UYQ,Uranium Yield Quantity
|
UYQ,Uranium Yield Quantity
|
||||||
V,Vacuum
|
V,"Vacuum, Valene, Vanadium, Volt, Volume"
|
||||||
V,Valene
|
|
||||||
V,Vanadium
|
|
||||||
v,velocity
|
v,velocity
|
||||||
V,Volt
|
VA,"Nitrogen group, Volume Analyzer"
|
||||||
V,Volume
|
VAC,"Vacuum, Vacuum Assisted Closure"
|
||||||
VA,Nitrogen group
|
VB,"Vacuum Break, Valence Band"
|
||||||
VA,Volume Analyzer
|
|
||||||
VAC,Vacuum
|
|
||||||
VAC,Vacuum Assisted Closure
|
|
||||||
VB,Vacuum Break
|
|
||||||
VB,Valence Band
|
|
||||||
VBJ,Vacuum Bell Jar
|
VBJ,Vacuum Bell Jar
|
||||||
VBT,Valence Bond Theory
|
VBT,Valence Bond Theory
|
||||||
VC,Vapor Cloud
|
VC,"Vapor Cloud, Vinyl Chloride, Viscous Coupled"
|
||||||
VC,Vinyl Chloride
|
|
||||||
VC,Viscous Coupled
|
|
||||||
VCE,Vapor Cloud Explosion
|
VCE,Vapor Cloud Explosion
|
||||||
VCM,Vinyl Chloride Monomer
|
VCM,Vinyl Chloride Monomer
|
||||||
Vd,Volume distribution
|
Vd,Volume distribution
|
||||||
VDB,VanDyke Brown test
|
VDB,VanDyke Brown test
|
||||||
VDF,Van der Waals force
|
VDF,Van der Waals force
|
||||||
VDW,Van der Waals radius
|
VDW,Van der Waals radius
|
||||||
VEQ,EQuilibrium Volume
|
VEQ,"EQuilibrium Volume, EQuivalence point Volume"
|
||||||
VEQ,EQuivalence point Volume
|
|
||||||
VFn,Vertical Face number (n is a number)
|
VFn,Vertical Face number (n is a number)
|
||||||
VH,Vapor Hazard
|
VH,Vapor Hazard
|
||||||
VHH,Volatile Halogenated Hydrocarbon
|
VHH,Volatile Halogenated Hydrocarbon
|
||||||
VHI,Vapor Hazard Index
|
VHI,Vapor Hazard Index
|
||||||
VHN,Vickers Hardness Number
|
VHN,Vickers Hardness Number
|
||||||
VHP,Vaporized Hydrogen Peroxide
|
VHP,"Vaporized Hydrogen Peroxide, Very High Pressure"
|
||||||
VHP,Very High Pressure
|
|
||||||
VHT,Very High Temperature
|
VHT,Very High Temperature
|
||||||
VHY,Very High Yield
|
VHY,Very High Yield
|
||||||
VI,Viscosity Index
|
VI,Viscosity Index
|
||||||
@ -1204,8 +1154,7 @@ VO,Vacuum Oven
|
|||||||
VOA,Volatile Organic Analysis
|
VOA,Volatile Organic Analysis
|
||||||
VOC,Volatile Organic Compound
|
VOC,Volatile Organic Compound
|
||||||
VOL,Volume
|
VOL,Volume
|
||||||
VP,Vapor Point
|
VP,"Vapor Point, Vapor Pressure"
|
||||||
VP,Vapor Pressure
|
|
||||||
VPE,Virtual Potential Energy
|
VPE,Virtual Potential Energy
|
||||||
VR,Very Rapid
|
VR,Very Rapid
|
||||||
VS,Very Saturated
|
VS,Very Saturated
|
||||||
@ -1215,28 +1164,17 @@ VSS,Volatile Suspended Solid
|
|||||||
VTC,Variable Temperature Cutoff
|
VTC,Variable Temperature Cutoff
|
||||||
VTP,"Volume, Temperature, Pressure"
|
VTP,"Volume, Temperature, Pressure"
|
||||||
VU,Volume Units
|
VU,Volume Units
|
||||||
VV,Vacuum Vessel
|
VV,"Vacuum Vessel, Valence-Valence"
|
||||||
VV,Valence-Valence
|
|
||||||
VW,Varies Widely
|
VW,Varies Widely
|
||||||
W,Tryptofan
|
W,"Tryptofan, Tungsten, Watt, wavelength, Weight, width, Work"
|
||||||
W,Tungsten
|
|
||||||
W,Watt
|
|
||||||
W,wavelength
|
|
||||||
W,Weight
|
|
||||||
W,width
|
|
||||||
W,Work
|
|
||||||
W5,Which Was What We Wanted
|
W5,Which Was What We Wanted
|
||||||
WA,Weak Acid
|
WA,Weak Acid
|
||||||
WAC,Weak Acid Cation
|
WAC,Weak Acid Cation
|
||||||
WB,Water Based
|
WB,"Water Based, Weak Base, Weak Bond"
|
||||||
WB,Weak Base
|
|
||||||
WB,Weak Bond
|
|
||||||
WBA,Weak Base Anion
|
WBA,Weak Base Anion
|
||||||
WC,Water Cosolvent
|
WC,Water Cosolvent
|
||||||
WCS,Worst Case Scenario
|
WCS,Worst Case Scenario
|
||||||
WD,Water Dispersant
|
WD,"Water Dispersant, Water Displacement, Wet/Dry"
|
||||||
WD,Water Displacement
|
|
||||||
WD,Wet/Dry
|
|
||||||
WIAP,Water In All Phases
|
WIAP,Water In All Phases
|
||||||
WIN,Water Insoluble Nitrogen
|
WIN,Water Insoluble Nitrogen
|
||||||
WNA,World Nuclear Association
|
WNA,World Nuclear Association
|
||||||
@ -1244,8 +1182,7 @@ WO,Weak Oxidizer
|
|||||||
WP,White Phosphorus
|
WP,White Phosphorus
|
||||||
WPS,Water Phase Salt
|
WPS,Water Phase Salt
|
||||||
WR,Water Repellent
|
WR,Water Repellent
|
||||||
WS,Wash Solution
|
WS,"Wash Solution, Water Soluble"
|
||||||
WS,Water Soluble
|
|
||||||
WSNZ,Water Soluble Zinc
|
WSNZ,Water Soluble Zinc
|
||||||
WSPI,"Water-Soluble Phosphorous, Inorganic"
|
WSPI,"Water-Soluble Phosphorous, Inorganic"
|
||||||
WSPO,"Water-Soluble Phosphorous, Organic"
|
WSPO,"Water-Soluble Phosphorous, Organic"
|
||||||
@ -1262,8 +1199,7 @@ WWIX,Waste Water Ion eXchange
|
|||||||
WYOL,Write Your Own Lab
|
WYOL,Write Your Own Lab
|
||||||
WYOLA,Write Your Own Lab Assignment
|
WYOLA,Write Your Own Lab Assignment
|
||||||
WYU,What You Use
|
WYU,What You Use
|
||||||
X,Halogen
|
X,"Halogen, unknown"
|
||||||
X,unknown
|
|
||||||
XAG,Silver Troy Ounce
|
XAG,Silver Troy Ounce
|
||||||
XAN,XANthine
|
XAN,XANthine
|
||||||
XAU,Gold Troy Ounce
|
XAU,Gold Troy Ounce
|
||||||
@ -1275,10 +1211,8 @@ XPD,Palladium Troy Ounce
|
|||||||
XPT,Platinum Troy Ounce
|
XPT,Platinum Troy Ounce
|
||||||
XUM,X-ray Ultra-Microscope
|
XUM,X-ray Ultra-Microscope
|
||||||
XYD,XYliDine
|
XYD,XYliDine
|
||||||
Y,Tyrosine
|
Y,"Tyrosine, Yotta prefix (1024), Yttrium"
|
||||||
y,yocto prefix (10-24)
|
y,yocto prefix (10-24)
|
||||||
Y,Yotta prefix (1024)
|
|
||||||
Y,Yttrium
|
|
||||||
YA,Yield Analysis
|
YA,Yield Analysis
|
||||||
YAG,Yttrium Aluminum Garnet
|
YAG,Yttrium Aluminum Garnet
|
||||||
YAP,Yield Analysis Pattern
|
YAP,Yield Analysis Pattern
|
||||||
@ -1290,13 +1224,8 @@ Yd,Yard
|
|||||||
YIC,Yttrium Lithium Fluoride
|
YIC,Yttrium Lithium Fluoride
|
||||||
Yr,Year
|
Yr,Year
|
||||||
YZN,Yellow ZiNc dichromate
|
YZN,Yellow ZiNc dichromate
|
||||||
Z,Atomic Number
|
Z,"Atomic Number, azimuth, Impedance, proton number, zero, Zetta prefix (1021)"
|
||||||
Z,azimuth
|
|
||||||
Z,Impedance
|
|
||||||
Z,proton number
|
|
||||||
z,zepto prefix (10-21)
|
z,zepto prefix (10-21)
|
||||||
Z,zero
|
|
||||||
Z,Zetta prefix (1021)
|
|
||||||
ZB,Zinc Blende
|
ZB,Zinc Blende
|
||||||
ZC,Zero Calibration
|
ZC,Zero Calibration
|
||||||
ZC,Zinc Composite
|
ZC,Zinc Composite
|
||||||
|
|
@ -243,6 +243,7 @@ ASSP,application-specific standard product
|
|||||||
AST,automated storage tiering
|
AST,automated storage tiering
|
||||||
ASTM,American Society for Testing and Materials
|
ASTM,American Society for Testing and Materials
|
||||||
ASUG,Americas' SAP Users' Group
|
ASUG,Americas' SAP Users' Group
|
||||||
|
ASWF,Academy Software Foundation
|
||||||
ATA,Advanced Technology Attachment
|
ATA,Advanced Technology Attachment
|
||||||
ATA,American Telemedicine Association
|
ATA,American Telemedicine Association
|
||||||
ATA,analog telephone adapter
|
ATA,analog telephone adapter
|
||||||
@ -468,6 +469,7 @@ CDR,call detail record
|
|||||||
CDR,Computed Dental Radiography
|
CDR,Computed Dental Radiography
|
||||||
CDSL,Consumer Digital Subscriber Line
|
CDSL,Consumer Digital Subscriber Line
|
||||||
CDSS,clinical decision support system
|
CDSS,clinical decision support system
|
||||||
|
CDU,Coolant Distribution Unit
|
||||||
CdTe,cadmium telluride
|
CdTe,cadmium telluride
|
||||||
CEBP,communications-enabled business processes
|
CEBP,communications-enabled business processes
|
||||||
CELL,Cell processor
|
CELL,Cell processor
|
||||||
@ -537,9 +539,7 @@ CKO,chief knowledge officer
|
|||||||
CL,cluster log
|
CL,cluster log
|
||||||
CLASS,Capacity Loading and Operation Sequence Scheduling
|
CLASS,Capacity Loading and Operation Sequence Scheduling
|
||||||
CLEC,competitive local exchange carrier
|
CLEC,competitive local exchange carrier
|
||||||
CLI,command line interface
|
CLI,"Command Line Interface, Command Line Interpreter, Common Language Infrastructure"
|
||||||
CLI,Command Line Interpreter
|
|
||||||
CLI,Common Language Infrastructure
|
|
||||||
CLM,Council For Logistics Management
|
CLM,Council For Logistics Management
|
||||||
CLO,chief learning officer
|
CLO,chief learning officer
|
||||||
CLOB,Character Large OBject
|
CLOB,Character Large OBject
|
||||||
@ -548,7 +548,8 @@ CLR,Common Language Runtime
|
|||||||
CM,configuration management
|
CM,configuration management
|
||||||
CM,content management
|
CM,content management
|
||||||
CM,Contract Manufacturer
|
CM,Contract Manufacturer
|
||||||
CMA,content management application
|
CMA,Content Management Application
|
||||||
|
CMD,Command Prompt
|
||||||
CMDB,configuration management database
|
CMDB,configuration management database
|
||||||
CMDM,Collaborative Master Data Management
|
CMDM,Collaborative Master Data Management
|
||||||
CMIO,Chief Medical Information Officer
|
CMIO,Chief Medical Information Officer
|
||||||
@ -675,7 +676,9 @@ CWE,Common Weakness Enumeration
|
|||||||
CWF,common working file
|
CWF,common working file
|
||||||
CWNP,Certified Wireless Networking Professional
|
CWNP,Certified Wireless Networking Professional
|
||||||
CX,consumer experience
|
CX,consumer experience
|
||||||
|
CXF,Credential Exchange Format
|
||||||
CXO,chief experience officer
|
CXO,chief experience officer
|
||||||
|
CXP,Credential Exchange Protocol
|
||||||
D-AMPS,Digital-Advanced Mobile Phone Service
|
D-AMPS,Digital-Advanced Mobile Phone Service
|
||||||
D-VHS,Digital Video Home System
|
D-VHS,Digital Video Home System
|
||||||
D2D,Disk to Disk
|
D2D,Disk to Disk
|
||||||
@ -809,13 +812,12 @@ DND,Dungeons & Dragons (a computer game)
|
|||||||
DNG,Digital Negative
|
DNG,Digital Negative
|
||||||
DNIS,Dialed Number Identification Service
|
DNIS,Dialed Number Identification Service
|
||||||
DNN,DotNetNuke
|
DNN,DotNetNuke
|
||||||
DNS,domain name system
|
DNS,Domain Name System
|
||||||
DNSSEC,DNS Security Extensions
|
DNSSEC,DNS Security Extensions
|
||||||
DNT,Do Not Track
|
DNT,Do Not Track
|
||||||
DO,derived object
|
DO,derived object
|
||||||
DOCSIS,Data Over Cable Service Interface Specifications
|
DOCSIS,Data Over Cable Service Interface Specifications
|
||||||
DOD,Direct Outward Dialing
|
DOD,Direct Outward Dialing
|
||||||
DOE,Department of Energy
|
|
||||||
DOI,Digital Object Identifier
|
DOI,Digital Object Identifier
|
||||||
DOI,digital object identifier
|
DOI,digital object identifier
|
||||||
DOL,Department of Labor
|
DOL,Department of Labor
|
||||||
@ -848,6 +850,7 @@ DROP,delivery of real-time execution information protocol
|
|||||||
DRP,disaster recovery plan
|
DRP,disaster recovery plan
|
||||||
DRP,Distribution Requirements Planning
|
DRP,Distribution Requirements Planning
|
||||||
DRS,Storage Distributed Resource Scheduler
|
DRS,Storage Distributed Resource Scheduler
|
||||||
|
DSA,Digital Services Act (EU)
|
||||||
DSB,Dispute Settlement Body
|
DSB,Dispute Settlement Body
|
||||||
DSC,Digital Still Camera
|
DSC,Digital Still Camera
|
||||||
DSL,Domain-Specific Language
|
DSL,Domain-Specific Language
|
||||||
@ -1005,6 +1008,7 @@ EOL,"End of Life, End of Line"
|
|||||||
EOM,End of Message
|
EOM,End of Message
|
||||||
EOP,Microsoft Exchange Online Protection
|
EOP,Microsoft Exchange Online Protection
|
||||||
EOQ,Economic Order Quantity
|
EOQ,Economic Order Quantity
|
||||||
|
EOT,End of Transmission
|
||||||
EPA,Microsoft Exchange Server Profile Analyzer
|
EPA,Microsoft Exchange Server Profile Analyzer
|
||||||
EPC,Evolved Packet Core
|
EPC,Evolved Packet Core
|
||||||
EPD,electronic paper display
|
EPD,electronic paper display
|
||||||
@ -1065,6 +1069,7 @@ EZ/EC,Empowerment Zone/Enterprise Community
|
|||||||
FA,Flexible Automation
|
FA,Flexible Automation
|
||||||
FACTA,Fair and Accurate Credit Transactions Act
|
FACTA,Fair and Accurate Credit Transactions Act
|
||||||
FAR,Federal Acquisition Regulation
|
FAR,Federal Acquisition Regulation
|
||||||
|
FARM,Field Accessible Reliability Metrics
|
||||||
FAS,Final Assembly Schedule
|
FAS,Final Assembly Schedule
|
||||||
FASAB,Federal Accounting Standards Advisory Board
|
FASAB,Federal Accounting Standards Advisory Board
|
||||||
FAT,File Allocation Table
|
FAT,File Allocation Table
|
||||||
@ -1111,6 +1116,7 @@ FHA,Federal Health Architecture
|
|||||||
FHIE,Federal Health Information Exchange
|
FHIE,Federal Health Information Exchange
|
||||||
FI,Fast Infoset
|
FI,Fast Infoset
|
||||||
FICON,Fiber Connectivity
|
FICON,Fiber Connectivity
|
||||||
|
FIDO,Fast Identity Online Alliance
|
||||||
FIFO,"First In, First Out"
|
FIFO,"First In, First Out"
|
||||||
FILO,"First In, Last Out"
|
FILO,"First In, Last Out"
|
||||||
FIM,federated identity management
|
FIM,federated identity management
|
||||||
@ -1282,7 +1288,7 @@ gTLD,generic top-level domain name
|
|||||||
GTM,strategy go-to-market strategy
|
GTM,strategy go-to-market strategy
|
||||||
GUA,graphical password or graphical user authentication
|
GUA,graphical password or graphical user authentication
|
||||||
GUI,Graphical User Interface
|
GUI,Graphical User Interface
|
||||||
GUID,global unique identifier
|
GUID,Globally Unique Identifier (see also UUID)
|
||||||
GUM,Global Update Manager
|
GUM,Global Update Manager
|
||||||
GWAC,governmentwide acquisition contract
|
GWAC,governmentwide acquisition contract
|
||||||
GXA,Global XML Web Services Architecture
|
GXA,Global XML Web Services Architecture
|
||||||
@ -1392,6 +1398,7 @@ IBP,integrated business planning
|
|||||||
IC,integrated circuit
|
IC,integrated circuit
|
||||||
IC-BPMS,integration-centric business process management suite
|
IC-BPMS,integration-centric business process management suite
|
||||||
ICANN,Internet Corporation for Assigned Names and Numbers
|
ICANN,Internet Corporation for Assigned Names and Numbers
|
||||||
|
ICD,Interface Control Document
|
||||||
ICE,"In-Circuit Emulator, Information and Content Exchange"
|
ICE,"In-Circuit Emulator, Information and Content Exchange"
|
||||||
IcM,incident management
|
IcM,incident management
|
||||||
ICMP,Internet Control Message Protocol
|
ICMP,Internet Control Message Protocol
|
||||||
@ -1475,8 +1482,7 @@ IRQ,interrupt request
|
|||||||
IRR,internal rate of return
|
IRR,internal rate of return
|
||||||
IRTF,Internet Research Task Force
|
IRTF,Internet Research Task Force
|
||||||
IRU,Indefeasible Right of Use
|
IRU,Indefeasible Right of Use
|
||||||
IS,Information System
|
IS,Information System or Information Services
|
||||||
IS,information system or information services
|
|
||||||
IS-IS,Intermediate System-to-Intermediate System protocol
|
IS-IS,Intermediate System-to-Intermediate System protocol
|
||||||
ISA,Industry Standard Architecture
|
ISA,Industry Standard Architecture
|
||||||
ISAM,Indexed Sequential Access Method
|
ISAM,Indexed Sequential Access Method
|
||||||
@ -1772,6 +1778,7 @@ MVMC,Microsoft Virtual Machine Converter
|
|||||||
MVNO,mobile virtual network operator
|
MVNO,mobile virtual network operator
|
||||||
MVP,Microsoft Most Valuable Professional
|
MVP,Microsoft Most Valuable Professional
|
||||||
MVS,Multiple Virtual Storage
|
MVS,Multiple Virtual Storage
|
||||||
|
MVC,Mobile World Congress (in Barcelona)
|
||||||
NaaS,network-as-a-service
|
NaaS,network-as-a-service
|
||||||
NAC,network access control
|
NAC,network access control
|
||||||
NACHA,National Automated Clearing House Association
|
NACHA,National Automated Clearing House Association
|
||||||
@ -1913,6 +1920,7 @@ OODBMS,object-oriented database management system
|
|||||||
OoOE,out-of-order execution
|
OoOE,out-of-order execution
|
||||||
OOP,object-oriented programming
|
OOP,object-oriented programming
|
||||||
OOPSLA,"Object-Oriented Programming Systems, Languages and Applications"
|
OOPSLA,"Object-Oriented Programming Systems, Languages and Applications"
|
||||||
|
OOTB,out of the box (feature or functionality)
|
||||||
OOXML,Office Open Extended Markup Language
|
OOXML,Office Open Extended Markup Language
|
||||||
OPC,OLE for Process Control
|
OPC,OLE for Process Control
|
||||||
OpenGL,Open Graphics Library
|
OpenGL,Open Graphics Library
|
||||||
@ -2606,7 +2614,7 @@ USSD,Unstructured Supplementary Service Data
|
|||||||
UTF,Unicode Transformation Format
|
UTF,Unicode Transformation Format
|
||||||
UTM,unified threat management
|
UTM,unified threat management
|
||||||
UUCP,UNIX-to-UNIX Copy Protocol
|
UUCP,UNIX-to-UNIX Copy Protocol
|
||||||
UUID,Universal Unique Identifier
|
UUID,Universally Unique Identifier (see also GUID)
|
||||||
UX,user experience
|
UX,user experience
|
||||||
UXGA,Ultra Extended Graphics Array
|
UXGA,Ultra Extended Graphics Array
|
||||||
V2P,virtual to physical
|
V2P,virtual to physical
|
||||||
@ -2663,6 +2671,7 @@ VLE,virtual learning environment
|
|||||||
VLER,Virtual Lifetime Electronic Record
|
VLER,Virtual Lifetime Electronic Record
|
||||||
VLIW,very long instruction word
|
VLIW,very long instruction word
|
||||||
vlog,video blog
|
vlog,video blog
|
||||||
|
VLOP,Very Large Online Platform
|
||||||
VLSI,Very Large Scale Integration
|
VLSI,Very Large Scale Integration
|
||||||
VLSM,variable-length subnet mask
|
VLSM,variable-length subnet mask
|
||||||
VM,virtual machine
|
VM,virtual machine
|
||||||
|
|
@ -7263,19 +7263,19 @@ TERM,MEANING
|
|||||||
"Farinose","(adv.) Civered with a sort of white, mealy powder, as the leaves of some poplars, and the body of certain insects; mealy."
|
"Farinose","(adv.) Civered with a sort of white, mealy powder, as the leaves of some poplars, and the body of certain insects; mealy."
|
||||||
"Farl","(verb trans.) same as Furl."
|
"Farl","(verb trans.) same as Furl."
|
||||||
"Farlie","(noun) an unusual or unexpected thing; a wonder. see Fearly."
|
"Farlie","(noun) an unusual or unexpected thing; a wonder. see Fearly."
|
||||||
"Farm","a. & n.","The rent of land, -- originally paid by reservation of part of its products."
|
Farm,"(a. & n.) the rent of land, -- originally paid by reservation of part of its products."
|
||||||
"Farm","a. & n.","The term or tenure of a lease of land for cultivation; a leasehold."
|
Farm,"(a. & n.) the term or tenure of a lease of land for cultivation; a leasehold."
|
||||||
"Farm","a. & n.","The land held under lease and by payment of rent for the purpose of cultivation."
|
Farm,"(a. & n.) the land held under lease and by payment of rent for the purpose of cultivation."
|
||||||
"Farm","a. & n.","any tract of land devoted to agricultural purposes, under the management of a tenant or the owner."
|
Farm,"(a. & n.) any tract of land devoted to agricultural purposes, under the management of a tenant or the owner."
|
||||||
"Farm","a. & n.","a district of country leased (or farmed) out for the collection of the revenues of government."
|
Farm,"(a. & n.) a district of country leased (or farmed) out for the collection of the revenues of government."
|
||||||
"Farm","a. & n.","a lease of the imposts on particular goods; as, the sugar farm, the silk farm."
|
Farm,"(a. & n.) a lease of the imposts on particular goods; as, the sugar farm, the silk farm."
|
||||||
"Farmed","imp. & p. p.","of Farm"
|
"Farmed","imp. & p. p.","of Farm"
|
||||||
"Farming","p. pr. & vb. n.","of Farm"
|
"Farming","p. pr. & vb. n.","of Farm"
|
||||||
"Farm","(verb trans.) to lease or let for an equivalent, as land for a rent; to yield the use of to proceeds."
|
Farm,"(verb trans.) to lease or let for an equivalent, as land for a rent; to yield the use of to proceeds."
|
||||||
"Farm","(verb trans.) to give up to another, as an estate, a business, the revenue, etc., on condition of receiving in return a percentage of what it yields; as, to farm the taxes."
|
Farm,"(verb trans.) to give up to another, as an estate, a business, the revenue, etc., on condition of receiving in return a percentage of what it yields; as, to farm the taxes."
|
||||||
"Farm","(verb trans.) to take at a certain rent or rate."
|
Farm,"(verb trans.) to take at a certain rent or rate."
|
||||||
"Farm","(verb trans.) to devote (land) to agriculture; to cultivate, as land; to till, as a farm."
|
Farm,"(verb trans.) to devote (land) to agriculture; to cultivate, as land; to till, as a farm."
|
||||||
"Farm","(verb intrans.) to engage in the business of tilling the soil; to labor as a farmer."
|
Farm,"(verb intrans.) to engage in the business of tilling the soil; to labor as a farmer."
|
||||||
"Farmable","(adv.) Capable of being farmed."
|
"Farmable","(adv.) Capable of being farmed."
|
||||||
"Farmer","(noun) one who farms"
|
"Farmer","(noun) one who farms"
|
||||||
"Farmer","(noun) one who hires and cultivates a farm; a cultivator of leased ground; a tenant."
|
"Farmer","(noun) one who hires and cultivates a farm; a cultivator of leased ground; a tenant."
|
||||||
|
Can't render this file because it is too large.
|
@ -38,7 +38,7 @@ AADAC,Alberta Alcohol and Drug Abuse Commission
|
|||||||
AADC,area air defense commander,amino acid decarboxylase,aromatic L-amino acid decarboxylase,Australian Antarctic Data Centre
|
AADC,area air defense commander,amino acid decarboxylase,aromatic L-amino acid decarboxylase,Australian Antarctic Data Centre
|
||||||
AADD,Adult attention deficit disorder
|
AADD,Adult attention deficit disorder
|
||||||
AADT,annual average daily traffic
|
AADT,annual average daily traffic
|
||||||
AAFC,U.S. Army Air Corps Ferrying Command (1941-1942),All-America Football Conference (1946-1949)
|
AAFC,"Army Air Corps Ferrying Command (USA, 1941-1942), All-America Football Conference (1946-1949)"
|
||||||
AAFES,Army and Air Force Exchange Service
|
AAFES,Army and Air Force Exchange Service
|
||||||
AAIS,advanced airborne interceptor simulator
|
AAIS,advanced airborne interceptor simulator
|
||||||
AAM,air-to-air missile
|
AAM,air-to-air missile
|
||||||
@ -70,7 +70,7 @@ ABC,American-born Chinese
|
|||||||
ABC,anti-lock brake controller
|
ABC,anti-lock brake controller
|
||||||
ABC,"atomic, biological, chemical"
|
ABC,"atomic, biological, chemical"
|
||||||
ABCA,American,British and Canadian Armies (originally),Army Bureau of Current Affairs
|
ABCA,American,British and Canadian Armies (originally),Army Bureau of Current Affairs
|
||||||
ABCS,(U.S.) Army Battle Command System
|
ABCS,Army Battle Command System (USA)
|
||||||
ABET,Accreditation Board for Engineering and Technology
|
ABET,Accreditation Board for Engineering and Technology
|
||||||
ABFIST,Advanced Bradley Full Crew Interactive Skills Trainer
|
ABFIST,Advanced Bradley Full Crew Interactive Skills Trainer
|
||||||
ABGI,Addington-Barker Group International
|
ABGI,Addington-Barker Group International
|
||||||
@ -115,13 +115,13 @@ ACLOS,Automatic CLOS (missile control system)
|
|||||||
ACLS,American Council of Learned Societies
|
ACLS,American Council of Learned Societies
|
||||||
ACLU,"American Civil Liberties Union,American Communist Lawyers Union (pejorative slang for the above)"
|
ACLU,"American Civil Liberties Union,American Communist Lawyers Union (pejorative slang for the above)"
|
||||||
ACM,"many,including Association for Computing Machinery; see entry"
|
ACM,"many,including Association for Computing Machinery; see entry"
|
||||||
ACMC,(U.S.) Assistant Commandant of the Marine Corps
|
ACMC,Assistant Commandant of the Marine Corps (USA)
|
||||||
ACN,"Airborne Communications Node,Australian Company Number (number issued by the Australian government as registration of a limited liability company)"
|
ACN,"Airborne Communications Node,Australian Company Number (number issued by the Australian government as registration of a limited liability company)"
|
||||||
ACNA,Anglican Church in North America
|
ACNA,Anglican Church in North America
|
||||||
ACO,Airspace Control Order
|
ACO,Airspace Control Order
|
||||||
ACOBA,Advisory Committee on Business Appointments
|
ACOBA,Advisory Committee on Business Appointments
|
||||||
ACOG,American College of Obstetricians and Gynecologists
|
ACOG,American College of Obstetricians and Gynecologists
|
||||||
ACOM,(U.S.) Atlantic Command
|
ACOM,Atlantic Command (USA)
|
||||||
ACORN,Association of Community Organizations for Reform Now
|
ACORN,Association of Community Organizations for Reform Now
|
||||||
ACP,"African,Caribbean and Pacific Group of States,Air Control Point"
|
ACP,"African,Caribbean and Pacific Group of States,Air Control Point"
|
||||||
ACR,Advanced Concepts and Requirements
|
ACR,Advanced Concepts and Requirements
|
||||||
@ -133,7 +133,7 @@ ACST,American Cooperative School of Tunis
|
|||||||
ACST,Australian Central Standard Time
|
ACST,Australian Central Standard Time
|
||||||
ACT,"Adaptive Control of Thought (cognitive model),American College Test (ing Program),Australian Capital Territory (also postal symbol),ACT UP,AIDS Coalition to Unleash Power"
|
ACT,"Adaptive Control of Thought (cognitive model),American College Test (ing Program),Australian Capital Territory (also postal symbol),ACT UP,AIDS Coalition to Unleash Power"
|
||||||
ACTD,Advanced Concept Technology Demonstration
|
ACTD,Advanced Concept Technology Demonstration
|
||||||
ACTF,"(U.S.) Army Constructive Training Federation,Australian Children's Television Foundation,ACT-R,ACT-Rational (cognitive model),ACT-R/PM,ACT-R/Perceptual-Motor (cognitive model)"
|
ACTF,"Army Constructive Training Federation (USA),Australian Children's Television Foundation,ACT-R,ACT-Rational (cognitive model),ACT-R/PM,ACT-R/Perceptual-Motor (cognitive model)"
|
||||||
ACTU,Australian Council of Trade Unions
|
ACTU,Australian Council of Trade Unions
|
||||||
ACU,American Conservative Union
|
ACU,American Conservative Union
|
||||||
ACUF,"Advisory Committee on Undersea Features,American Conservative Union Foundation"
|
ACUF,"Advisory Committee on Undersea Features,American Conservative Union Foundation"
|
||||||
@ -146,7 +146,7 @@ ADAS,Asiago-DLR Asteroid Survey
|
|||||||
ADAT,Alesis Digital Audio Tape (recording format)
|
ADAT,Alesis Digital Audio Tape (recording format)
|
||||||
ADATS,"Agricultural Development and Training Society,Air Defence Anti-Tank System,Australian Defence Air Traffic System"
|
ADATS,"Agricultural Development and Training Society,Air Defence Anti-Tank System,Australian Defence Air Traffic System"
|
||||||
ADB,Asian Development Bank
|
ADB,Asian Development Bank
|
||||||
ADC,"Aide De Camp,U.S. Air Defense Command (1946-1992),Apple Display Connector,Program Against Digital Counterfeiting of Currency"
|
ADC,"Aide De Camp,Air Defense Command (USA, 1946-1992),Apple Display Connector,Program Against Digital Counterfeiting of Currency"
|
||||||
ADD,"Analog Digital Digital (CD quality),Attention-Deficit Disorder,Administration on Developmental Disabilities"
|
ADD,"Analog Digital Digital (CD quality),Attention-Deficit Disorder,Administration on Developmental Disabilities"
|
||||||
ADDIE,Analyze Design Develop Implement and Evaluate
|
ADDIE,Analyze Design Develop Implement and Evaluate
|
||||||
ADDNS,Advanced Deployable Day/Night Simulation
|
ADDNS,Advanced Deployable Day/Night Simulation
|
||||||
@ -175,7 +175,7 @@ aet,After extra time (Football)
|
|||||||
AEW,"Airborne Early Warning,Airborne Electronic Warfare"
|
AEW,"Airborne Early Warning,Airborne Electronic Warfare"
|
||||||
AF,"Afghanistan (ISO 3166 digram),Air Force,As f*ck"
|
AF,"Afghanistan (ISO 3166 digram),Air Force,As f*ck"
|
||||||
aF,Attofarad
|
aF,Attofarad
|
||||||
AFA,"U.S. Air Force Academy,Asociación del Fútbol Argentino (Spanish for 'Argentine Football Association')"
|
AFA,"Air Force Academy (USA),Asociación del Fútbol Argentino (Spanish for 'Argentine Football Association')"
|
||||||
AFAIC,As Far As I'm Concerned
|
AFAIC,As Far As I'm Concerned
|
||||||
AFAICT,As Far As I Can Tell
|
AFAICT,As Far As I Can Tell
|
||||||
AFAIK,As Far As I Know
|
AFAIK,As Far As I Know
|
||||||
@ -196,18 +196,18 @@ AFL,American Federation of Labor,American Football League — either the 1960s l
|
|||||||
AFLAC,American Family Life Assurance Company of Columbus
|
AFLAC,American Family Life Assurance Company of Columbus
|
||||||
AFM,Army Field Manual (UK; the U.S. more frequently uses just FM),Atomic Force Microscope,Aviation Fleet Maintenance
|
AFM,Army Field Manual (UK; the U.S. more frequently uses just FM),Atomic Force Microscope,Aviation Fleet Maintenance
|
||||||
AFO,Association of Field Ornithologists
|
AFO,Association of Field Ornithologists
|
||||||
AFOSR,U.S. Air Force Office of Scientific Research
|
AFOSR,Air Force Office of Scientific Research (USA)
|
||||||
AFP,"Agence France-Presse (French,'French Press Agency'), Australian Federal Police"
|
AFP,"Agence France-Presse (French,'French Press Agency'), Australian Federal Police"
|
||||||
AFQT,Armed Forces Qualification Test
|
AFQT,Armed Forces Qualification Test
|
||||||
AFRC,Air Force Reserve Command
|
AFRC,Air Force Reserve Command
|
||||||
AFRL,Air Force Research Laboratory
|
AFRL,Air Force Research Laboratory
|
||||||
AFROTC,Air Force Reserve Officer Training Corps
|
AFROTC,Air Force Reserve Officer Training Corps
|
||||||
AFRRI,(U.S.) Armed Forces Radiobiology Research Institute
|
AFRRI,Armed Forces Radiobiology Research Institute (USA)
|
||||||
AFRTS,Armed Forces Radio and Television Service
|
AFRTS,Armed Forces Radio and Television Service
|
||||||
AFS,Active Front Steering,Air Facility Sub-System,Amniotic Fluid-derived Stem cell,AFS&A or AFSA,U.S. Air Force Studies and Analysis
|
AFS,Active Front Steering,Air Facility Sub-System,Amniotic Fluid-derived Stem cell,AFS&A or AFSA,U.S. Air Force Studies and Analysis
|
||||||
AFSC,"U.S. Air Force Staff College (obsolete; replaced with JFSC), U.S. Air Force Systems Command"
|
AFSC,"Air Force Staff College (USA, obsolete; replaced with JFSC), U.S. Air Force Systems Command"
|
||||||
AFSCN,U.S. Air Force Satellite Control Network
|
AFSCN,Air Force Satellite Control Network (USA)
|
||||||
AFSPC,Air Force Space Command
|
AFSPC,Air Force Space Command (USA)
|
||||||
AFT,American Farmland Trust
|
AFT,American Farmland Trust
|
||||||
AFV,armoured fighting vehicle
|
AFV,armoured fighting vehicle
|
||||||
AFWA,Air Force Weather Agency,Association of Fish and Wildlife Agencies,AG[edit]
|
AFWA,Air Force Weather Agency,Association of Fish and Wildlife Agencies,AG[edit]
|
||||||
@ -248,7 +248,7 @@ AIAA,American Institute of Aeronautics and Astronautics
|
|||||||
AIC,"African Independent Church,Animal Identification Coordinator"
|
AIC,"African Independent Church,Animal Identification Coordinator"
|
||||||
AICD,Australian Institute of Company Directors
|
AICD,Australian Institute of Company Directors
|
||||||
AICMFP,And I Claim My Five Pounds
|
AICMFP,And I Claim My Five Pounds
|
||||||
AID,U.S. Agency for International Development
|
AID,Agency for International Development (USA)
|
||||||
AIDS,Acquired Immune Deficiency Syndrome
|
AIDS,Acquired Immune Deficiency Syndrome
|
||||||
AIM,Australian Institute of Management
|
AIM,Australian Institute of Management
|
||||||
AIMP,Aurora Incremental Modernization Project
|
AIMP,Aurora Incremental Modernization Project
|
||||||
@ -294,7 +294,7 @@ AM1,Airman 1st class
|
|||||||
AMA,American Medical Association,Australian Medical Association
|
AMA,American Medical Association,Australian Medical Association
|
||||||
AMAPS,Aircraft,Missile,Avionics Performance Simulation
|
AMAPS,Aircraft,Missile,Avionics Performance Simulation
|
||||||
AMC,Adaptive modulation and coding (digital communications),U.S. Air Mobility Command,American Motors Corporation,American Movie Classics (TV network; now known simply by the initials),U.S. Army Materiel Command
|
AMC,Adaptive modulation and coding (digital communications),U.S. Air Mobility Command,American Motors Corporation,American Movie Classics (TV network; now known simply by the initials),U.S. Army Materiel Command
|
||||||
AMCB,U.S. Army/Marine Corps Board
|
AMCB,Army/Marine Corps Board (USA)
|
||||||
AMFOM,Advanced Missile Fly Out Model
|
AMFOM,Advanced Missile Fly Out Model
|
||||||
AMFR,"Age-specific Marital Fertility Rate,Amplitude Modulation Following Response"
|
AMFR,"Age-specific Marital Fertility Rate,Amplitude Modulation Following Response"
|
||||||
AMFRS,"Advanced Multi-Function Radio Frequency System,Automatic Multisensor Feature-based Recognition System"
|
AMFRS,"Advanced Multi-Function Radio Frequency System,Automatic Multisensor Feature-based Recognition System"
|
||||||
@ -306,10 +306,10 @@ AMOLED,Active-matrix organic light-emitting diode
|
|||||||
AMOS,"Advanced MOrtar System,Air Force Maui Optical and Supercomputing observatory"
|
AMOS,"Advanced MOrtar System,Air Force Maui Optical and Supercomputing observatory"
|
||||||
AMP,"Adenosine MonoPhosphate,Automated Mission Planner"
|
AMP,"Adenosine MonoPhosphate,Automated Mission Planner"
|
||||||
AMRAAM,Advanced Medium-Range Air-to-Air Missile
|
AMRAAM,Advanced Medium-Range Air-to-Air Missile
|
||||||
AMRDEC,"U.S. Aviation & Missile Research,Development,& Engineering Center"
|
AMRDEC,"Aviation & Missile Research,Development & Engineering Center (USA)"
|
||||||
AMS,"Agriculture Marketing Service,American Mathematical Society"
|
AMS,"Agriculture Marketing Service,American Mathematical Society"
|
||||||
AMSAA,U.S. Army Materiel Systems Analysis Activity
|
AMSAA,Army Materiel Systems Analysis Activity (USA)
|
||||||
AMSO,U.S. Army Model and Simulation Office
|
AMSO,Army Model and Simulation Office (USA)
|
||||||
AMSU,Advanced Microwave Sounding Unit
|
AMSU,Advanced Microwave Sounding Unit
|
||||||
AMTE,UK Admiralty Marine Technology Establishment (1977-1984)
|
AMTE,UK Admiralty Marine Technology Establishment (1977-1984)
|
||||||
AN,"Netherlands Antilles (ISO 3166 digram)"
|
AN,"Netherlands Antilles (ISO 3166 digram)"
|
||||||
@ -340,17 +340,18 @@ AOSTH,Adventures of Sonic the Hedgehog
|
|||||||
AOTS,"Attack of the Show!"
|
AOTS,"Attack of the Show!"
|
||||||
AOU,American Ornithologists' Union
|
AOU,American Ornithologists' Union
|
||||||
AP,"Advanced Placement,Air Publication,Andhra Pradesh (Indian state code),Armed Forces Pacific (postal symbol),Associated Press,Auto Pilot"
|
AP,"Advanced Placement,Air Publication,Andhra Pradesh (Indian state code),Armed Forces Pacific (postal symbol),Associated Press,Auto Pilot"
|
||||||
|
APAC,Asia Pacific
|
||||||
APB,All Points Bulletin (police jargon)
|
APB,All Points Bulletin (police jargon)
|
||||||
APC,Armoured Personnel Carrier,Armour Piercing Capped (ammunition)
|
APC,"Armoured Personnel Carrier, Armour Piercing Capped (ammunition)"
|
||||||
APCNR,Armour-Piercing,Composite Non-Rigid (ammunition)
|
APCNR,"Armour-Piercing,Composite Non-Rigid (ammunition)"
|
||||||
APCR,Armour-Piercing,Composite Rigid (ammunition)
|
APCR,"Armour-Piercing,Composite Rigid (ammunition)"
|
||||||
APDS,Armour-Piercing,Discarding-Sabot (ammunition)
|
APDS,"Armour-Piercing,Discarding-Sabot (ammunition)"
|
||||||
APEC,Asia Pacific Economic Cooperation
|
APEC,Asia Pacific Economic Cooperation
|
||||||
APEDS,AMSAA Performance Estimates Data System
|
APEDS,AMSAA Performance Estimates Data System
|
||||||
APEX,Applied Physics Express
|
APEX,Applied Physics Express
|
||||||
APFSDS,Armour-Piercing,Fin-Stabilised,Discarding Sabot (ammunition)
|
APFSDS,"Armour-Piercing,Fin-Stabilised,Discarding Sabot (ammunition)"
|
||||||
APHA,American Public Health Association
|
APHA,American Public Health Association
|
||||||
APHE,Armour-Piercing,High Explosive (ammunition)
|
APHE,"Armour-Piercing, High Explosive (ammunition)"
|
||||||
APHIS,Animal and Plant Health Inspection Service
|
APHIS,Animal and Plant Health Inspection Service
|
||||||
APL,"Acute Promyeloid Leukaemia,Anti-Personnel Landmine,Applied Physics Laboratory (Johns Hopkins University)"
|
APL,"Acute Promyeloid Leukaemia,Anti-Personnel Landmine,Applied Physics Laboratory (Johns Hopkins University)"
|
||||||
APOD,Aerial Port (Airport) Of Debarkation
|
APOD,Aerial Port (Airport) Of Debarkation
|
||||||
@ -370,13 +371,13 @@ ARC,Arc-second Raster Chart,Appalachian Regional Commission
|
|||||||
ARCA,Automobile Racing Club of America
|
ARCA,Automobile Racing Club of America
|
||||||
ARCENT,United States Army Central Command
|
ARCENT,United States Army Central Command
|
||||||
ARDA,Advanced Research and Development Activity (became DTO 2006)
|
ARDA,Advanced Research and Development Activity (became DTO 2006)
|
||||||
ARE,UK Admiralty Research Establishment (-1991),United Arab Emirates (ISO 3166 trigram)
|
ARE,"UK Admiralty Research Establishment (-1991),United Arab Emirates (ISO 3166 trigram)"
|
||||||
ARF,ASEAN Regional Forum
|
ARF,ASEAN Regional Forum
|
||||||
ARG,Argentina (ISO 3166 trigram)
|
ARG,Argentina (ISO 3166 trigram)
|
||||||
ARH,Armed Reconnaissance Helicopter
|
ARH,Armed Reconnaissance Helicopter
|
||||||
ARI,Acute Respiratory Infection,U.S. Army Research Institute for the Behavioral and Social Sciences
|
ARI,"Acute Respiratory Infection,U.S. Army Research Institute for the Behavioral and Social Sciences"
|
||||||
ARL,UK Admiralty Research Laboratory (1921-1977),U.S. Army Research Laboratory,UIUC Aviation Research Laboratory
|
ARL,"UK Admiralty Research Laboratory (1921-1977),U.S. Army Research Laboratory,UIUC Aviation Research Laboratory"
|
||||||
ARM,Anti-Radiation Missile,Adjustable-rate mortgage,Armenia (ISO 3166 trigram)
|
ARM,"Anti-Radiation Missile,Adjustable-rate mortgage,Armenia (ISO 3166 trigram)"
|
||||||
ARNet,Acquisition Reform Network
|
ARNet,Acquisition Reform Network
|
||||||
ARP,Applied Research Programme
|
ARP,Applied Research Programme
|
||||||
ARPA,Advanced Research Projects Agency
|
ARPA,Advanced Research Projects Agency
|
||||||
@ -384,8 +385,8 @@ ARRC,ACE Rapid Reaction Corps
|
|||||||
ARRF,Allied Rapid Reaction Force
|
ARRF,Allied Rapid Reaction Force
|
||||||
ARRL,American Radio Relay League
|
ARRL,American Radio Relay League
|
||||||
ARSC,Arctic Region Supercomputing Center
|
ARSC,Arctic Region Supercomputing Center
|
||||||
ARSPACE,U.S. Army Space Command
|
ARSPACE,Army Space Command (USA)
|
||||||
ART,Adaptive Resonance Theory,Anti-Retroviral Therapy
|
ART,"Adaptive Resonance Theory, Anti-Retroviral Therapy"
|
||||||
ARTCC,Air Route Traffic Control Center
|
ARTCC,Air Route Traffic Control Center
|
||||||
ARWG,Army Research Working Group
|
ARWG,Army Research Working Group
|
||||||
AS,ActionScript
|
AS,ActionScript
|
||||||
@ -401,7 +402,7 @@ ASBO,Anti-Social Behaviour Order
|
|||||||
ASCAP,"American Society of Composers,Authors,and Publishers"
|
ASCAP,"American Society of Composers,Authors,and Publishers"
|
||||||
ASCC,"Army Service Component Commander,Automatic Sequence Controlled Calculator,Air Standardization Coordinating Committee"
|
ASCC,"Army Service Component Commander,Automatic Sequence Controlled Calculator,Air Standardization Coordinating Committee"
|
||||||
ASCII,American Standard Code for Information Interchange
|
ASCII,American Standard Code for Information Interchange
|
||||||
ASD,"(U.S.) Assistant Secretary of Defense,autism spectrum disorder"
|
ASD,"Assistant Secretary of Defense (USA), autism spectrum disorder"
|
||||||
ASDIC,Allied Submarine Detection Investigation Committee (Sonar)
|
ASDIC,Allied Submarine Detection Investigation Committee (Sonar)
|
||||||
ASEAN,Association of Southeast Asian Nations
|
ASEAN,Association of Southeast Asian Nations
|
||||||
ASFAR,Americans for a Society Free of Age Restrictions
|
ASFAR,Americans for a Society Free of Age Restrictions
|
||||||
@ -430,7 +431,7 @@ ASUW,AntiSUrface Warfare
|
|||||||
ASVAB,Armed Services Vocational Aptitude Battery(taken by juniors in high school in the USA)
|
ASVAB,Armed Services Vocational Aptitude Battery(taken by juniors in high school in the USA)
|
||||||
ASVEL,"Association Sportive Villeurbanne Éveil Lyonnais (Association Sportive is French for 'Sporting Association'; the club was founded through the merger of AS Villeurbanne and Éveil Lyonnais)"
|
ASVEL,"Association Sportive Villeurbanne Éveil Lyonnais (Association Sportive is French for 'Sporting Association'; the club was founded through the merger of AS Villeurbanne and Éveil Lyonnais)"
|
||||||
ASW,AntiSubmarine Warfare
|
ASW,AntiSubmarine Warfare
|
||||||
ASWORG,(U.S.) AntiSubmarine Warfare Operations Research Group
|
ASWORG,AntiSubmarine Warfare Operations Research Group (USA)
|
||||||
ASX,"Advanced Stream Redirector,Australian Securities Exchange"
|
ASX,"Advanced Stream Redirector,Australian Securities Exchange"
|
||||||
AT,"Anti-Tank,Austria (ISO 3166 digram),Advanced Technology (IBM Personal Computer/AT)"
|
AT,"Anti-Tank,Austria (ISO 3166 digram),Advanced Technology (IBM Personal Computer/AT)"
|
||||||
At,Astatine
|
At,Astatine
|
||||||
@ -440,7 +441,7 @@ ATAC,Air Transportable Acoustic Communications
|
|||||||
ATAPI,Advanced Technology Attachment Packet Interface
|
ATAPI,Advanced Technology Attachment Packet Interface
|
||||||
ATAT,Aiken Tactical Airsoft Team / Star Wars vehicle
|
ATAT,Aiken Tactical Airsoft Team / Star Wars vehicle
|
||||||
ATB,"Active Time Battle,British Antarctic Territory (ISO 3166 trigram; merged with AQ in 1979)"
|
ATB,"Active Time Battle,British Antarctic Territory (ISO 3166 trigram; merged with AQ in 1979)"
|
||||||
ATC,"Air Training Corps, U.S. Air Transport Command (1942-1948), Athletic Trainer,Certified"
|
ATC,"Air Training Corps, Air Transport Command (USA, 1942-1948), Athletic Trainer,Certified"
|
||||||
ATESS,Aerospace and Telecommunications Engineering Support Squadron
|
ATESS,Aerospace and Telecommunications Engineering Support Squadron
|
||||||
ATF,"French Southern Territories (ISO 3166 trigram),(U.S.) Bureau of Alcohol,Tobacco,Firearms and Explosives"
|
ATF,"French Southern Territories (ISO 3166 trigram),(U.S.) Bureau of Alcohol,Tobacco,Firearms and Explosives"
|
||||||
ATG,Antigua and Barbuda (ISO 3166 and FIFA trigram)
|
ATG,Antigua and Barbuda (ISO 3166 and FIFA trigram)
|
||||||
@ -455,7 +456,7 @@ ATM,At The Moment
|
|||||||
ATN,"Dronning Maud Land (ISO 3166 trigram; merged with AQ in 1983)"
|
ATN,"Dronning Maud Land (ISO 3166 trigram; merged with AQ in 1983)"
|
||||||
ATO,"Air Tasking Order,Australian Taxation Office"
|
ATO,"Air Tasking Order,Australian Taxation Office"
|
||||||
ATP,"Adenosine TriPhosphate,Allied Tactical Publication,Ammunition Transfer Point"
|
ATP,"Adenosine TriPhosphate,Allied Tactical Publication,Ammunition Transfer Point"
|
||||||
ATSD,(U.S.) Assistant Secretary of Defense
|
ATSD,Assistant Secretary of Defense (USA)
|
||||||
ATSDR,Agency for Toxic Substances and Disease Registry
|
ATSDR,Agency for Toxic Substances and Disease Registry
|
||||||
ATV,All-Terrain Vehicle
|
ATV,All-Terrain Vehicle
|
||||||
ATWA,"Air,Trees,Water,Animals"
|
ATWA,"Air,Trees,Water,Animals"
|
||||||
@ -772,7 +773,7 @@ CGS,Chief of the General Staff
|
|||||||
CGT,Capital Gains Tax
|
CGT,Capital Gains Tax
|
||||||
ch,ch(L) is used to denote the Chern character of a line bundle
|
ch,ch(L) is used to denote the Chern character of a line bundle
|
||||||
CH,"Chieftain tank,Switzerland (ISO 3166 digram; from Latin Confoederatio Helvetica)"
|
CH,"Chieftain tank,Switzerland (ISO 3166 digram; from Latin Confoederatio Helvetica)"
|
||||||
CHAMPUS,(U.S.) Civilian Health and Medical Program of the Uniformed Services (now known as TRICARE)
|
CHAMPUS,Civilian Health and Medical Program of the Uniformed Services (USA, now known as TRICARE)
|
||||||
CHAOS,Cambridge Heart Anti-Oxidant Study
|
CHAOS,Cambridge Heart Anti-Oxidant Study
|
||||||
CHAPS,Clearing House Automated Payment System
|
CHAPS,Clearing House Automated Payment System
|
||||||
CHDK,Canon Hack Development Kit (Canon camera firmware hack)
|
CHDK,Canon Hack Development Kit (Canon camera firmware hack)
|
||||||
@ -806,7 +807,7 @@ CIPE,(European) Centre for International Political Economy
|
|||||||
CIR,(Commander's) Critical Information Requirements
|
CIR,(Commander's) Critical Information Requirements
|
||||||
CIR,Corotating Interaction Region
|
CIR,Corotating Interaction Region
|
||||||
CIS,"Canadian Interuniversity Sport,Commonwealth of Independent States,Command and Information System,Communication and Information System"
|
CIS,"Canadian Interuniversity Sport,Commonwealth of Independent States,Command and Information System,Communication and Information System"
|
||||||
CISA,(U.S.) C4I Integration Support Activity
|
CISA,C4I Integration Support Activity (USA)
|
||||||
CISB,Complete In Sealed Box (Internet auction/trading listings)
|
CISB,Complete In Sealed Box (Internet auction/trading listings)
|
||||||
CISPR,Comité international spécial des perturbations radioélectriques (Special International Committee on Radio Interference)
|
CISPR,Comité international spécial des perturbations radioélectriques (Special International Committee on Radio Interference)
|
||||||
CISSP,Certified Information Systems Security Professional
|
CISSP,Certified Information Systems Security Professional
|
||||||
@ -877,7 +878,7 @@ COL,Colombia (ISO 3166 trigram)
|
|||||||
COLA,Cost Of Living Adjustment
|
COLA,Cost Of Living Adjustment
|
||||||
COM,Comoros (ISO 3166 trigram),Component Object Model
|
COM,Comoros (ISO 3166 trigram),Component Object Model
|
||||||
COMECON,Council for Mutual Economic Assistance (economic counterpart of the Warsaw Pact,1949-1991)
|
COMECON,Council for Mutual Economic Assistance (economic counterpart of the Warsaw Pact,1949-1991)
|
||||||
CONAD,U.S. Continental Air Defense Command
|
CONAD,Continental Air Defense Command (USA)
|
||||||
CONCACAF,Confederation Of North,Central American and Caribbean Association Football
|
CONCACAF,Confederation Of North,Central American and Caribbean Association Football
|
||||||
CONMEBOL,"Confederación Sudamericana de Fútbol or Confederação Sul-Americana de Futebol (respectively Spanish and Portuguese for 'South American Football Confederation')"
|
CONMEBOL,"Confederación Sudamericana de Fútbol or Confederação Sul-Americana de Futebol (respectively Spanish and Portuguese for 'South American Football Confederation')"
|
||||||
CONUS,Continental United States
|
CONUS,Continental United States
|
||||||
@ -1076,7 +1077,6 @@ DHA,DocosaHexaenoic Acid
|
|||||||
DHHS,(U.S.) Department of Health and Human Services
|
DHHS,(U.S.) Department of Health and Human Services
|
||||||
DHL,Dalsey,Hillblom,and Lynn (courier service)
|
DHL,Dalsey,Hillblom,and Lynn (courier service)
|
||||||
DHRA,(U.S.) DoD Human Resources Activity
|
DHRA,(U.S.) DoD Human Resources Activity
|
||||||
DHS,U.S. Department of Homeland Security
|
|
||||||
DHSS,UK Department of Health and Social Security
|
DHSS,UK Department of Health and Social Security
|
||||||
DHTFYSS,U.S. Don't Have Time For You Silly S****
|
DHTFYSS,U.S. Don't Have Time For You Silly S****
|
||||||
DHY,Dahomey (ISO 3166 trigram; became BEN for Benin in 1977)
|
DHY,Dahomey (ISO 3166 trigram; became BEN for Benin in 1977)
|
||||||
@ -1144,21 +1144,15 @@ DNDO,U.S. Domestic Nuclear Detection Office
|
|||||||
DNK,Denmark (ISO 3166 trigram)
|
DNK,Denmark (ISO 3166 trigram)
|
||||||
DNM,Defence Nuclear Material
|
DNM,Defence Nuclear Material
|
||||||
DNR,Do Not Resuscitate
|
DNR,Do Not Resuscitate
|
||||||
DNS,Domain Name System
|
|
||||||
DO,"Dominican Republic (ISO 3166 digram),Doctor of Osteopathic Medicine"
|
DO,"Dominican Republic (ISO 3166 digram),Doctor of Osteopathic Medicine"
|
||||||
DOA,"Dead On Arrival,Dead or Alive"
|
DOA,"Dead On Arrival,Dead or Alive"
|
||||||
DOB,Date Of Birth
|
DOB,Date Of Birth
|
||||||
DOD,U.S. Department of Defense
|
|
||||||
DODAF,U.S. Department of Defense Architectural Framework
|
|
||||||
DoDD,U.S. Department of Defense Directive
|
|
||||||
DoDEA,(U.S.) Department of Defense Education Activity
|
|
||||||
DOE,U.S. Department of Energy
|
|
||||||
DOHC,Dual-OverHead-Cam engine
|
DOHC,Dual-OverHead-Cam engine
|
||||||
DOI,U.S. Department of the Interior
|
DOI,U.S. Department of the Interior
|
||||||
DOM,Deo optimo maximo (Latin,"to God,the best and greatest"),Document Object Model,Dominican Republic (ISO 3166 trigram)
|
DOM,Deo optimo maximo (Latin,"to God,the best and greatest"),Document Object Model,Dominican Republic (ISO 3166 trigram)
|
||||||
DORA,Defence of the Realm Act
|
DORA,Defence of the Realm Act
|
||||||
DOS,Density of State
|
DOS,Density of State
|
||||||
DOT,Department of Transportation (U.S. federal or state),Damage Over Time (common in World of Warcraft)
|
DOT,Damage Over Time (common in World of Warcraft)
|
||||||
DOTA,short-form for DEFENSE OF THE ANCIENTS a popular online epic game
|
DOTA,short-form for DEFENSE OF THE ANCIENTS a popular online epic game
|
||||||
DotD,Deal of the Day (marketing gimmick)
|
DotD,Deal of the Day (marketing gimmick)
|
||||||
DOTMLPF,Doctrine,Organization,Training,Materiel,Leadership,Personnel,and Facilities (mnemonic)
|
DOTMLPF,Doctrine,Organization,Training,Materiel,Leadership,Personnel,and Facilities (mnemonic)
|
||||||
@ -1514,7 +1508,6 @@ FCM,Federation of Canadian Municipalities,Fogarty's Cove Music
|
|||||||
FCO,UK Foreign and Commonwealth Office
|
FCO,UK Foreign and Commonwealth Office
|
||||||
FCW,Florida Championship Wrestling
|
FCW,Florida Championship Wrestling
|
||||||
FD,Falun Dafa
|
FD,Falun Dafa
|
||||||
FDA,Food and Drug Administration (U.S.)
|
|
||||||
FDBK,(I) Feedback
|
FDBK,(I) Feedback
|
||||||
FDC,Federal Detention Center (U.S.),Fire Direction Centre
|
FDC,Federal Detention Center (U.S.),Fire Direction Centre
|
||||||
FDR,Flight Data Recorder,Franklin Delano Roosevelt
|
FDR,Flight Data Recorder,Franklin Delano Roosevelt
|
||||||
@ -1885,7 +1878,7 @@ GSOH,Good Sense Of Humour
|
|||||||
GSP,Georges St-Pierre (Canadian MMA fighter)
|
GSP,Georges St-Pierre (Canadian MMA fighter)
|
||||||
GSR,Gun Shot Residue
|
GSR,Gun Shot Residue
|
||||||
GSS,Generic Security Services
|
GSS,Generic Security Services
|
||||||
GST,Goods and Services Tax (Australia,Canada,and other countries)
|
GST,"Gulf Standard Time, Goods and Services Tax (Australia,Canada,and other countries)"
|
||||||
GSW,Gunshot wound
|
GSW,Gunshot wound
|
||||||
GT,Gigatesla,Gran Turismo,Grand Touring,Guatemala (ISO 3166 digram)
|
GT,Gigatesla,Gran Turismo,Grand Touring,Guatemala (ISO 3166 digram)
|
||||||
GTB,Get to bed,namely to get a new job after a long time of searching,usually following a phone call
|
GTB,Get to bed,namely to get a new job after a long time of searching,usually following a phone call
|
||||||
@ -2294,7 +2287,7 @@ IRQ,Iraq (ISO 3166 trigram)
|
|||||||
IRS,U.S. Internal Revenue Service
|
IRS,U.S. Internal Revenue Service
|
||||||
IRSN,Institut de radioprotection et de sûreté nucléaire (French,"Institute for Radiation Protection and Nuclear Safety")
|
IRSN,Institut de radioprotection et de sûreté nucléaire (French,"Institute for Radiation Protection and Nuclear Safety")
|
||||||
IRST,Infra-red Search and Track
|
IRST,Infra-red Search and Track
|
||||||
IS,Iceland (ISO 3166 digram)
|
IS,"Islamic State, or: Iceland (ISO 3166 digram)"
|
||||||
ISA,Individual Savings Account,Industry Standard Architecture,Instruction Set Architecture,International Seabed Authority
|
ISA,Individual Savings Account,Industry Standard Architecture,Instruction Set Architecture,International Seabed Authority
|
||||||
ISAAA,International Service for the Acquisition of Agri-biotech Applications
|
ISAAA,International Service for the Acquisition of Agri-biotech Applications
|
||||||
ISAF,International Sailing Federation,International Security Assistance Force
|
ISAF,International Sailing Federation,International Security Assistance Force
|
||||||
@ -2309,7 +2302,7 @@ ISEN,Internet Search Environment Number
|
|||||||
ISF,Internal Security Force
|
ISF,Internal Security Force
|
||||||
ISI-Indian Standards Institute,former name of the Bureau of Indian Standards,Inter-Services Intelligence (Pakistan),Islamic State of Iraq,an umbrella organization for several Iraqi insurgent groups
|
ISI-Indian Standards Institute,former name of the Bureau of Indian Standards,Inter-Services Intelligence (Pakistan),Islamic State of Iraq,an umbrella organization for several Iraqi insurgent groups
|
||||||
ISIL,Islamic State of Iraq and the Levant
|
ISIL,Islamic State of Iraq and the Levant
|
||||||
ISIS,"Institute for Science and International Security, or: Islamic State of Iraq and Syria"
|
ISIS,"Islamic State of Iraq and Syria, or: Institute for Science and International Security"
|
||||||
ISL,Iceland (ISO 3166 trigram)
|
ISL,Iceland (ISO 3166 trigram)
|
||||||
ISLN,International Standard Lawyer Number (used initially by LexisNexis Martindale-Hubbell)
|
ISLN,International Standard Lawyer Number (used initially by LexisNexis Martindale-Hubbell)
|
||||||
ISM,Industrial,scientific or medical,Interstellar medium
|
ISM,Industrial,scientific or medical,Interstellar medium
|
||||||
@ -2319,7 +2312,7 @@ ISO,In Search Of,International Organization for Standardization (from the Greek
|
|||||||
ISOGP,Indian Society of Orthodontics for General Practitioners [2]
|
ISOGP,Indian Society of Orthodontics for General Practitioners [2]
|
||||||
ISP,International Standardized Profile,Internet Service Provider,Information Systems Professional
|
ISP,International Standardized Profile,Internet Service Provider,Information Systems Professional
|
||||||
ISPE,International Society for Pharmacoepidemiology
|
ISPE,International Society for Pharmacoepidemiology
|
||||||
ISR,Intelligence,Surveillance and Reconnaissance,Israel (ISO 3166 trigram)
|
ISR,"Intelligence,Surveillance and Reconnaissance, or: Israel (ISO 3166 trigram)"
|
||||||
ISRO,Indian Space Research Organisation
|
ISRO,Indian Space Research Organisation
|
||||||
ISS,International Shorebird Survey (North America),International Space Station
|
ISS,International Shorebird Survey (North America),International Space Station
|
||||||
ISSCR,International Society for Stem Cell Research
|
ISSCR,International Society for Stem Cell Research
|
||||||
@ -2962,7 +2955,6 @@ MLK,Martin Luther King,Jr.
|
|||||||
MLL,Major League Lacrosse
|
MLL,Major League Lacrosse
|
||||||
MLLW,Mean Lower Low Water (nautical charts)
|
MLLW,Mean Lower Low Water (nautical charts)
|
||||||
MLP,My Little Pony
|
MLP,My Little Pony
|
||||||
MLRS,Multiple-Launch Rocket System
|
|
||||||
MLS,Major League Soccer,Multiple Listing Service
|
MLS,Major League Soccer,Multiple Listing Service
|
||||||
MLSE,Maple Leaf Sports & Entertainment (owner of several Toronto-based sports teams),Maximum likelihood sequence estimation
|
MLSE,Maple Leaf Sports & Entertainment (owner of several Toronto-based sports teams),Maximum likelihood sequence estimation
|
||||||
MLSR,Missing,Lost or Stolen Report
|
MLSR,Missing,Lost or Stolen Report
|
||||||
@ -3912,7 +3904,7 @@ PPS,post postscriptum,Precise/Precision Positioning Service (GPS),PolyPhenylene
|
|||||||
PPV,Pay-per-view
|
PPV,Pay-per-view
|
||||||
PQ,Province of Québec (obsolete postal code,replaced by QC),Parti Québécois,PR[edit]
|
PQ,Province of Québec (obsolete postal code,replaced by QC),Parti Québécois,PR[edit]
|
||||||
Pr,"Pastor, Priest"
|
Pr,"Pastor, Priest"
|
||||||
PR,Public Relations
|
PR,"Public Relations, Personal Record"
|
||||||
Prb,Presbyter
|
Prb,Presbyter
|
||||||
PRBO,Point Reyes Bird Observatory
|
PRBO,Point Reyes Bird Observatory
|
||||||
PRC,People's Republic of China
|
PRC,People's Republic of China
|
||||||
@ -4700,14 +4692,14 @@ USAID, United States Agency for International Development
|
|||||||
USAP,"Union Sportive des Arlequins Perpignanais,United States Antarctic Program"
|
USAP,"Union Sportive des Arlequins Perpignanais,United States Antarctic Program"
|
||||||
USAPATRIOT,Uniting and Strengthening America by Providing Appropriate Tools Required to Intercept and Obstruct Terrorism
|
USAPATRIOT,Uniting and Strengthening America by Providing Appropriate Tools Required to Intercept and Obstruct Terrorism
|
||||||
USAREUR,United States Army Europe
|
USAREUR,United States Army Europe
|
||||||
USB,Universal Serial Bus
|
|
||||||
USC,"United States Code,University of South Carolina,University of Southern California"
|
USC,"United States Code,University of South Carolina,University of Southern California"
|
||||||
USCG,United States Coast Guard
|
USCG,United States Coast Guard
|
||||||
USCINCSPACE,"United States Commander in Chief,Space Command"
|
USCINCSPACE,"United States Commander in Chief,Space Command"
|
||||||
USDA,United States Department of Agriculture
|
USDA,United States Department of Agriculture
|
||||||
USDI,United States Department of the Interior
|
USDI,United States Department of the Interior
|
||||||
USDOE,United States Department of Energy
|
USDOE,United States Department of Energy
|
||||||
USDRE,(U.S.) Under-Secretary of Defense for Research and Engineering (1978-1986)
|
USDRE,Under-Secretary of Defense for Research and Engineering (USA, 1978-1986)
|
||||||
|
USDS,United States Digital Service
|
||||||
USEC,United States Enrichment Corporation
|
USEC,United States Enrichment Corporation
|
||||||
USFL,United States Football League
|
USFL,United States Football League
|
||||||
USFWS,United States Fish and Wildlife Service
|
USFWS,United States Fish and Wildlife Service
|
||||||
@ -4743,7 +4735,6 @@ UTEP, University of Texas at El Paso (pronounced you-tep)
|
|||||||
UTM,Universal Transverse Mercator (geographical co-ordinate system)
|
UTM,Universal Transverse Mercator (geographical co-ordinate system)
|
||||||
UU,Unitarian Universalism,University of Utah,Unseen University
|
UU,Unitarian Universalism,University of Utah,Unseen University
|
||||||
UUA,Unitarian Universalist Association
|
UUA,Unitarian Universalist Association
|
||||||
UUID,Universally Unique Identifier (see also GUID)
|
|
||||||
UUV,Unmanned Underwater Vehicle
|
UUV,Unmanned Underwater Vehicle
|
||||||
UV,Burkina Faso (from Upper Volta),ultraviolet
|
UV,Burkina Faso (from Upper Volta),ultraviolet
|
||||||
UVM,Universal Verification Methodology,Universidad del Valle de México,University of Vermont,from its Latin name of Universitas Viridis Montis ("University of the Green Mountains"),UV mapping,UW[edit]
|
UVM,Universal Verification Methodology,Universidad del Valle de México,University of Vermont,from its Latin name of Universitas Viridis Montis ("University of the Green Mountains"),UV mapping,UW[edit]
|
||||||
|
Can't render this file because it has a wrong number of fields in line 8.
|
@ -263,7 +263,6 @@ FAV,Fast Attack Vehicle
|
|||||||
FBW,Fly-by-Wire
|
FBW,Fly-by-Wire
|
||||||
FCC,Family Child Care
|
FCC,Family Child Care
|
||||||
FCS,Fire Control System
|
FCS,Fire Control System
|
||||||
FDA,U.S. Food and Drug Administration
|
|
||||||
FDO,Flight Deck Officer
|
FDO,Flight Deck Officer
|
||||||
FEBA,Forward Edge of the Battle Area
|
FEBA,Forward Edge of the Battle Area
|
||||||
FEBA,Foward Edge of Battle Area
|
FEBA,Foward Edge of Battle Area
|
||||||
@ -321,6 +320,7 @@ HEMAT,Heavy Expanded Mobility Ammunition Trailer
|
|||||||
HEP,High Explosive Plastic
|
HEP,High Explosive Plastic
|
||||||
HESH,High Explosive Squash Head
|
HESH,High Explosive Squash Head
|
||||||
HE-T,High Explosive - Tracer
|
HE-T,High Explosive - Tracer
|
||||||
|
HIMARS,High Mobility Artillery Rocket System
|
||||||
HMG,Heavy Machine u Gun
|
HMG,Heavy Machine u Gun
|
||||||
HMO,Health Maintenance Organization
|
HMO,Health Maintenance Organization
|
||||||
HOB,Height of Burst
|
HOB,Height of Burst
|
||||||
|
Can't render this file because it has a wrong number of fields in line 63.
|
@ -9,35 +9,42 @@ AIIB,Asian Infrastructure Investment Bank
|
|||||||
APEC,Asia-Pacific Economic Cooperation
|
APEC,Asia-Pacific Economic Cooperation
|
||||||
ASEAN,Association of South East Nations
|
ASEAN,Association of South East Nations
|
||||||
AT&T,American Telephone and Telegraph Company
|
AT&T,American Telephone and Telegraph Company
|
||||||
ATF,"U.S. Alcohol, Tobacco, Firearms and Explosives Bureau"
|
ATF,"Alcohol, Tobacco, Firearms and Explosives Bureau (USA)"
|
||||||
BMW, Bavarian Motor Works
|
BMW,Bavarian Motor Works
|
||||||
BND,Bundesnachrichtendienst (Germany)
|
BND,Bundesnachrichtendienst (Germany)
|
||||||
BVD, Bradley, Voorhees, and Day
|
BVD,"Bradley, Voorhees, and Day"
|
||||||
CERN,European Organization for Nuclear Research
|
CERN,European Organization for Nuclear Research
|
||||||
CIA,U.S. Central Intelligence Agency
|
CIA,Central Intelligence Agency (USA)
|
||||||
|
CISA,Cybersecurity Insurance and Security Agency (USA)
|
||||||
CPUC,California Public Utilities Commission
|
CPUC,California Public Utilities Commission
|
||||||
DOC,U.S. Department of Commerce
|
DHS,Department of Homeland Security (USA)
|
||||||
DOD,U.S. Department of Defense
|
DOC,Department of Commerce (USA)
|
||||||
DOE,U.S. Department of Energy
|
DoD,Department of Defense (USA)
|
||||||
DOI,U.S. Department of the Interior
|
DODAF,Department of Defense Architectural Framework (USA)
|
||||||
DOJ,U.S. Department of Justice
|
DoDD,Department of Defense Directive (USA)
|
||||||
DOL,U.S. Department of Labor
|
DoDEA,Department of Defense Education Activity (USA)
|
||||||
DOS,U.S. Department of State
|
DoE,Department of Energy (USA)
|
||||||
DOT,U.S. Department of Transportation
|
DOGE,Department of Government Efficiency (USA)
|
||||||
|
DOI,Department of the Interior (USA)
|
||||||
|
DOJ,Department of Justice (USA)
|
||||||
|
DOL,Department of Labor (USA)
|
||||||
|
DOS,Department of State (USA)
|
||||||
|
DOT,Department of Transportation (USA)
|
||||||
EASA,European Aviation Safety Agency
|
EASA,European Aviation Safety Agency
|
||||||
ED,U.S. Department of Education
|
ED,U.S. Department of Education
|
||||||
ESA,European Space Agency
|
ESA,European Space Agency
|
||||||
ESPN, Entertainment and Sports Programming Network
|
ESPN,Entertainment and Sports Programming Network
|
||||||
FAO,Food and Agriculture Organization
|
FAO,Food and Agriculture Organization
|
||||||
FBI,U.S. Federal Bureau of Investigation
|
FBI,Federal Bureau of Investigation (USA)
|
||||||
|
FDA,Food and Drug Administration (USA)
|
||||||
FIFA,Fédération Internationale de Football Association
|
FIFA,Fédération Internationale de Football Association
|
||||||
GEICO, Government Employees Insurance Company
|
GEICO,Government Employees Insurance Company
|
||||||
H&M, Hennes and Mauritz
|
H&M,Hennes and Mauritz
|
||||||
HHS,U.S. Department of Health and Human Services
|
HHS,U.S. Department of Health and Human Services
|
||||||
HRW,Human Rights Watch
|
HRW,Human Rights Watch
|
||||||
HSBC, Hongkong and Shanghai Banking Corporation
|
HSBC,Hongkong and Shanghai Banking Corporation
|
||||||
HUD,U.S. Department of Housing and Urban Development
|
HUD,U.S. Department of Housing and Urban Development
|
||||||
IBM, International Business Machines
|
IBM International Business Machines
|
||||||
ICC,International Cricket Council
|
ICC,International Cricket Council
|
||||||
ICI,Imperial Chemical Industries
|
ICI,Imperial Chemical Industries
|
||||||
ICJ,International Court of Justice
|
ICJ,International Court of Justice
|
||||||
@ -46,11 +53,11 @@ IMO,International Maritime Organization
|
|||||||
IOC,International Olympic Committee
|
IOC,International Olympic Committee
|
||||||
ISO,International Organization for Standardization
|
ISO,International Organization for Standardization
|
||||||
J&J,Johnson & Johnson
|
J&J,Johnson & Johnson
|
||||||
JBL, James Bullough Lansing
|
JBL,James Bullough Lansing
|
||||||
L.L. Bean, Leon Leonwood Bean
|
L.L. Bean,Leon Leonwood Bean
|
||||||
LAPD,Los Angeles Police Department
|
LAPD,Los Angeles Police Department
|
||||||
LBA,Luftfahrtbundesamt (German aviation agency)
|
LBA,Luftfahrtbundesamt (German aviation agency)
|
||||||
M&M, Mars & Murrie’s
|
M&M,Mars & Murrie’s
|
||||||
MILF,Moro Islamic Liberation Front
|
MILF,Moro Islamic Liberation Front
|
||||||
NASA,National Aeronautics and Space Administration
|
NASA,National Aeronautics and Space Administration
|
||||||
NATO,North Atlantic Treaty Organization
|
NATO,North Atlantic Treaty Organization
|
||||||
@ -76,9 +83,8 @@ UNIDO,United Nations Industrial Development Organization
|
|||||||
UNO,United Nations Organization
|
UNO,United Nations Organization
|
||||||
USDA,United States Department of Agriculture
|
USDA,United States Department of Agriculture
|
||||||
UPS,United Parcel Service
|
UPS,United Parcel Service
|
||||||
USSF,"United States Soccer Federation, governing body of soccer in the United States"
|
USIP,United States Institute of Peace
|
||||||
USSF,"United States Social Forum, an activist organization"
|
USSF,"United States Soccer Federation, US Social Forum, US Sumo Federation"
|
||||||
USSF,"US Sumo Federation, governing body of sumo in the United States"
|
|
||||||
VA,U.S. Department of Veterans Affairs
|
VA,U.S. Department of Veterans Affairs
|
||||||
VW,Volkswagen
|
VW,Volkswagen
|
||||||
WEF,World Economic Forum
|
WEF,World Economic Forum
|
||||||
@ -86,6 +92,6 @@ WHO,World Health Organization
|
|||||||
WIPO,World Intellectual Property Organization
|
WIPO,World Intellectual Property Organization
|
||||||
WMO,World Meteorological Organization
|
WMO,World Meteorological Organization
|
||||||
WWF,World Wide Fund for Nature
|
WWF,World Wide Fund for Nature
|
||||||
YKK, Yoshida Manufacturing Corporation
|
YKK,Yoshida Manufacturing Corporation
|
||||||
YMCA,Young Men's Christian Association
|
YMCA,Young Men's Christian Association
|
||||||
YWCA,Young Women's Christian Association
|
YWCA,Young Women's Christian Association
|
||||||
|
Can't render this file because it has a wrong number of fields in line 15.
|
@ -5,7 +5,9 @@ NAME,URL,
|
|||||||
"Google Keep","https://keep.google.com/",
|
"Google Keep","https://keep.google.com/",
|
||||||
"Google Photos","https://photos.google.com/",
|
"Google Photos","https://photos.google.com/",
|
||||||
"Google News","https://news.google.com",
|
"Google News","https://news.google.com",
|
||||||
|
"Google Tasks","https://tasks.google.com/tasks/",
|
||||||
"Outlook Mail","https://outlook.office.com/mail/",
|
"Outlook Mail","https://outlook.office.com/mail/",
|
||||||
|
"Microsoft Teams","https://teams.microsoft.com/v2/",
|
||||||
"CNN News","https://edition.cnn.com",
|
"CNN News","https://edition.cnn.com",
|
||||||
"GitHub Explore","https://github.com/explore",
|
"GitHub Explore","https://github.com/explore",
|
||||||
"FlightRadar24","https://www.flightradar24.com/27.63,-6.98/3",
|
"FlightRadar24","https://www.flightradar24.com/27.63,-6.98/3",
|
||||||
|
|
@ -1,5 +1,5 @@
|
|||||||
DOMAIN,
|
DOMAIN,
|
||||||
a.root-servers.net,
|
abc.com
|
||||||
airbnb.com,
|
airbnb.com,
|
||||||
aka.ms,
|
aka.ms,
|
||||||
api.met.no,
|
api.met.no,
|
||||||
@ -10,8 +10,8 @@ amazon.com,
|
|||||||
b.root-servers.net,
|
b.root-servers.net,
|
||||||
bing.com,
|
bing.com,
|
||||||
bitbucket.org,
|
bitbucket.org,
|
||||||
c.root-servers.net,
|
|
||||||
client.dropbox.com,
|
client.dropbox.com,
|
||||||
|
cnn.com,
|
||||||
contacts.google.com,
|
contacts.google.com,
|
||||||
d.dropbox.com,
|
d.dropbox.com,
|
||||||
d.root-servers.net,
|
d.root-servers.net,
|
||||||
@ -98,4 +98,4 @@ www.whatsapp.com,
|
|||||||
www.whitehouse.gov,
|
www.whitehouse.gov,
|
||||||
www.windy.com,
|
www.windy.com,
|
||||||
www.wikipedia.org,
|
www.wikipedia.org,
|
||||||
www.youtube.com,
|
www.youtube.com,
|
|
@ -1,5 +1,5 @@
|
|||||||
FOLDERNAME, CATEGORY, URL, BRANCH, SHALLOW,
|
FOLDERNAME, CATEGORY, URL, BRANCH, SHALLOW,
|
||||||
base256, "dev tool", "git@github.com:fleschutz/base256.git", main, yes,
|
base256U, "dev tool", "git@github.com:fleschutz/base256U.git", main, yes,
|
||||||
bazel, "build tool", "https://github.com/bazelbuild/bazel", master, yes,
|
bazel, "build tool", "https://github.com/bazelbuild/bazel", master, yes,
|
||||||
cmake, "build tool", "https://github.com/Kitware/CMake", master, yes,
|
cmake, "build tool", "https://github.com/Kitware/CMake", master, yes,
|
||||||
cmatrix, "fun tool", "https://github.com/abishekvashok/cmatrix", master, yes,
|
cmatrix, "fun tool", "https://github.com/abishekvashok/cmatrix", master, yes,
|
||||||
|
|
@ -61,4 +61,5 @@ Various,Samuel Johnson,"Never trust your tongue when your heart is bitter.",
|
|||||||
Various,William James,"The good we do today becomes the happiness of tomorrow.",
|
Various,William James,"The good we do today becomes the happiness of tomorrow.",
|
||||||
Various,Rene Descartes,"Conquer yourself rather than the world.",
|
Various,Rene Descartes,"Conquer yourself rather than the world.",
|
||||||
Various,Voltaire,"Everything you say should be true, but not everything true should be said.",
|
Various,Voltaire,"Everything you say should be true, but not everything true should be said.",
|
||||||
Various,Elizabeth Barrett Browning,"Silence is the best response to a fool.",
|
Various,Elizabeth Barrett Browning,"Silence is the best response to a fool.",
|
||||||
|
Various,Bertrand Russell,"The whole problem with the world is that fools and fanatics are always so certain of themselves, but wiser people so full of doubts."
|
Can't render this file because it has a wrong number of fields in line 65.
|
7
data/templates/Markdown.md
Normal file
7
data/templates/Markdown.md
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
Your Headline
|
||||||
|
=============
|
||||||
|
|
||||||
|
Some introductory words...
|
||||||
|
|
||||||
|
1. Do this...
|
||||||
|
2. Do that...
|
7
data/templates/Text.txt
Normal file
7
data/templates/Text.txt
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
Your Headline
|
||||||
|
=============
|
||||||
|
|
||||||
|
Some introductory words...
|
||||||
|
|
||||||
|
1. Do this...
|
||||||
|
2. Do that...
|
44
docs/FAQ.md
44
docs/FAQ.md
@ -24,15 +24,17 @@
|
|||||||
|
|
||||||
<details><summary>How to install PowerShell on Linux?</summary>
|
<details><summary>How to install PowerShell on Linux?</summary>
|
||||||
|
|
||||||
1. **Execute on Linux with Snap support:**
|
1. **Your Linux supports Snap packages? Then execute:**
|
||||||
```
|
```
|
||||||
$ snap install PowerShell
|
$ sudo snap install PowerShell
|
||||||
$ ln -s /snap/bin/pwsh /usr/bin/pwsh
|
$ sudo ln -s /snap/bin/pwsh /usr/bin/pwsh
|
||||||
```
|
```
|
||||||
2. **Otherwise, visit:** https://github.com/PowerShell/PowerShell **and scroll down to: *Get PowerShell*.**
|
2. **Otherwise, visit:** https://github.com/PowerShell/PowerShell **and scroll down to: *Get PowerShell*.**
|
||||||
3. **Want to configure PowerShell as your default shell?**
|
3. **Want to set PowerShell as your default shell?**
|
||||||
* Check that the file **/etc/shells** contains the **/usr/bin/pwsh** line, otherwise add it.
|
* Make sure the file **/etc/shells** (contains valid login shells) has a **/usr/bin/pwsh** line, otherwise add it.
|
||||||
* Now execute: **`chsh -s /usr/bin/pwsh <USERNAME>`** (replace <USERNAME> by your user name).
|
* Now execute: `chsh -s /usr/bin/pwsh <USERNAME>` (replace <USERNAME> by your user name).
|
||||||
|
4. **SSH login is too verbose?**
|
||||||
|
* Just execute: `echo > ~/.hushlogin`
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
<details><summary>How to install PowerShell on MacOS?</summary>
|
<details><summary>How to install PowerShell on MacOS?</summary>
|
||||||
@ -49,7 +51,7 @@
|
|||||||
**NOTE:** the group policy object (GPO) settings of your organization might disallow changes. In that case contact your system administrator for help.
|
**NOTE:** the group policy object (GPO) settings of your organization might disallow changes. In that case contact your system administrator for help.
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
<details><summary>How to get the Mega collection of PowerShell scripts?</summary>
|
<details><summary>How to get the 500+ PowerShell sample scripts?</summary>
|
||||||
|
|
||||||
1. **When using Git, execute in a terminal window:** `git clone https://github.com/fleschutz/PowerShell`
|
1. **When using Git, execute in a terminal window:** `git clone https://github.com/fleschutz/PowerShell`
|
||||||
2. **Otherwise, download and unzip it from:** https://github.com/fleschutz/PowerShell/archive/master.zip
|
2. **Otherwise, download and unzip it from:** https://github.com/fleschutz/PowerShell/archive/master.zip
|
||||||
@ -80,26 +82,27 @@
|
|||||||
|
|
||||||
<details><summary>How to execute PowerShell scripts in Jenkins?</summary>
|
<details><summary>How to execute PowerShell scripts in Jenkins?</summary>
|
||||||
|
|
||||||
1. **Install the Jenkins plugin:** `PowerShell plugin` (it uses PowerShell.exe on Windows and pwsh on Linux).
|
1. **Install the Jenkins plugin** *"PowerShell plugin"* from https://plugins.jenkins.io/ (the plugin uses PowerShell.exe on Windows and pwsh on Linux).
|
||||||
2. **Add or reference your PowerShell scripts in the Jenkins jobs or in your Jenkinsfiles.**
|
2. **Add or reference your PowerShell scripts in the Jenkins jobs or in your Jenkinsfiles.**
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
<details><summary>What about PowerShell security?</summary>
|
<details><summary>What about PowerShell security?</summary>
|
||||||
|
|
||||||
1. **Do NOT execute scripts from untrusted sources!**
|
1. **DO NOT execute scripts from untrusted sources! (rule applies to any executable)**
|
||||||
2. **Check the script content for strange things (that's impossible for executables).**
|
2. **CHECK the script content for strange things prior execution.**
|
||||||
3. **Prefer SSH Remoting instead of PowerShell Remoting**
|
3. **Prefer SSH Remoting instead of PowerShell Remoting**
|
||||||
4. **More recommendations by NSA and cyber security centers in the U.S. (CISA), New Zealand (NZ NCSC), and the U.K. (NCSC-UK) can be found here:** https://media.defense.gov/2022/Jun/22/2003021689/-1/-1/1/CSI_KEEPING_POWERSHELL_SECURITY_MEASURES_TO_USE_AND_EMBRACE_20220622.PDF
|
4. **More recommendations by NSA and cyber security centers in the U.S. (CISA), New Zealand (NZ NCSC), and the U.K. (NCSC-UK) can be found here:** https://media.defense.gov/2022/Jun/22/2003021689/-1/-1/1/CSI_KEEPING_POWERSHELL_SECURITY_MEASURES_TO_USE_AND_EMBRACE_20220622.PDF
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
<details><summary>How to get the best PowerShell experience?</summary>
|
<details><summary>How to get the ultimate PowerShell experience?</summary>
|
||||||
|
|
||||||
1. **Install *PowerShell* on all your Linux/Mac OS/Windows machines and configure it as default shell.**
|
1. **Install *PowerShell* (free)** on all your Linux/Mac OS/Windows machines and configure it as your default shell.
|
||||||
2. **For remote control install *SSH client & server* on all your Linux/Mac OS/Windows machines.**
|
2. **Install *SSH client & server* (free)** on all your Linux/Mac OS/Windows machines for remote control via SSH.
|
||||||
3. **Install the free *Windows Terminal* on Windows with 50% transparency, font 'Fira Code' and no PowerShell banner message.**
|
3. **Install *Windows Terminal* (free)** on Windows with 50% transparency, font 'Fira Code' and no PowerShell banner message.
|
||||||
4. **To edit PowerShell scripts install the free *Visual Studio Code* with plugin 'PowerShell'.**
|
4. **Install *Visual Studio Code* (free)** with plugin 'PowerShell' to edit PowerShell scripts.
|
||||||
5. **Install the *Mega Collection of PowerShell scripts* and set the PATH environment variable to it.**
|
5. **Install this GitHub repo** and set the PATH environment variable to the 📂scripts subfolder.
|
||||||
6. **Use an own PowerShell profile, e.g. execute: './update-powershell-profile.ps1'**
|
6. **Set an own PowerShell profile,** e.g. by executing: './update-powershell-profile.ps1'.
|
||||||
|
7. **For Jenkins** install the *PowerShell plugin* and use PowerShell in your Jenkins jobs.
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
|
||||||
@ -140,6 +143,13 @@ Want to use the PowerShell scripts everywhere on the command-line? Then you need
|
|||||||
* **For Windows Terminal:** open Settings > Profiles > Windows PowerShell > Command line and add " -nologo".
|
* **For Windows Terminal:** open Settings > Profiles > Windows PowerShell > Command line and add " -nologo".
|
||||||
</details>
|
</details>
|
||||||
|
|
||||||
|
<details><summary>Where to find more scripts?</summary>
|
||||||
|
|
||||||
|
* [PowerShellGallery.com](https://www.powershellgallery.com/) - The central repository for sharing and acquiring PowerShell code including PowerShell modules, scripts, and DSC resources.
|
||||||
|
* [ScriptShare.io](https://www.scriptshare.io/) - ScriptShare is an evergrowing library of scripts and automations.
|
||||||
|
</details>
|
||||||
|
|
||||||
|
|
||||||
<details><summary>How to write good PowerShell scripts?</summary>
|
<details><summary>How to write good PowerShell scripts?</summary>
|
||||||
|
|
||||||
**Good PowerShell scripts are both user-friendly and platform-independent. As a starting point I recommend the following:**
|
**Good PowerShell scripts are both user-friendly and platform-independent. As a starting point I recommend the following:**
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *add-firewall-rules.ps1*
|
The *add-firewall-rules.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script adds firewall rules for the given executable. Administrator rights are required.
|
This PowerShell script adds firewall rules for the given executable. Administrator rights are required.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./add-firewall-rules.ps1 [[-PathToExecutables] <String>] [[-Direction] <String>] [[-FirewallProfile] <Array>] [<CommonParameters>]
|
/Repos/PowerShell/scripts/add-firewall-rules.ps1 [[-PathToExecutables] <String>] [[-Direction] <String>] [[-FirewallProfile] <Array>] [<CommonParameters>]
|
||||||
|
|
||||||
-PathToExecutables <String>
|
-PathToExecutables <String>
|
||||||
Specifies the path to the executables.
|
Specifies the path to the executables.
|
||||||
@ -15,6 +15,7 @@ PS> ./add-firewall-rules.ps1 [[-PathToExecutables] <String>] [[-Direction] <Stri
|
|||||||
Position? 1
|
Position? 1
|
||||||
Default value
|
Default value
|
||||||
Accept pipeline input? false
|
Accept pipeline input? false
|
||||||
|
Aliases
|
||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
-Direction <String>
|
-Direction <String>
|
||||||
@ -24,6 +25,7 @@ PS> ./add-firewall-rules.ps1 [[-PathToExecutables] <String>] [[-Direction] <Stri
|
|||||||
Position? 2
|
Position? 2
|
||||||
Default value Inbound
|
Default value Inbound
|
||||||
Accept pipeline input? false
|
Accept pipeline input? false
|
||||||
|
Aliases
|
||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
-FirewallProfile <Array>
|
-FirewallProfile <Array>
|
||||||
@ -32,6 +34,7 @@ PS> ./add-firewall-rules.ps1 [[-PathToExecutables] <String>] [[-Direction] <Stri
|
|||||||
Position? 3
|
Position? 3
|
||||||
Default value @("Domain", "Private")
|
Default value @("Domain", "Private")
|
||||||
Accept pipeline input? false
|
Accept pipeline input? false
|
||||||
|
Aliases
|
||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
@ -113,4 +116,4 @@ try {
|
|||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of add-firewall-rules.ps1 as of 08/15/2024 09:50:44)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *alert.ps1*
|
The *alert.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script handles and escalates the given alert message.
|
This PowerShell script handles and escalates the given alert message.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./alert.ps1 [[-Message] <String>] [<CommonParameters>]
|
/Repos/PowerShell/scripts/alert.ps1 [[-Message] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-Message <String>
|
-Message <String>
|
||||||
Specifies the alert message
|
Specifies the alert message
|
||||||
@ -15,6 +15,7 @@ PS> ./alert.ps1 [[-Message] <String>] [<CommonParameters>]
|
|||||||
Position? 1
|
Position? 1
|
||||||
Default value
|
Default value
|
||||||
Accept pipeline input? false
|
Accept pipeline input? false
|
||||||
|
Aliases
|
||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
@ -71,4 +72,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of alert.ps1 as of 08/15/2024 09:50:44)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
@ -1,20 +1,21 @@
|
|||||||
Script: *build-repo.ps1*
|
The *build-repo.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script builds a Git repository by supporting build systems such as: autogen, cmake, configure, Gradle, Imakefile, Makefile, and Meson.
|
This PowerShell script builds a Git repository by supporting the build systems: autogen, cmake, configure, Gradle, Imakefile, Makefile, and Meson.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./build-repo.ps1 [[-path] <String>] [<CommonParameters>]
|
/Repos/PowerShell/scripts/build-repo.ps1 [[-path] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-path <String>
|
-path <String>
|
||||||
Specifies the path to the Git repository (default is current working directory)
|
Specifies the path to the Git repository (current working directory by default)
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
Default value "$PWD"
|
Default value "$PWD"
|
||||||
Accept pipeline input? false
|
Accept pipeline input? false
|
||||||
|
Aliases
|
||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
@ -26,9 +27,9 @@ Example
|
|||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./build-repo.ps1 C:\Repos\ninja
|
PS> ./build-repo.ps1 C:\Repos\ninja
|
||||||
⏳ Building 📂ninja using CMakeLists.txt into 📂ninja/_Build_Results...
|
⏳ Building 📂ninja by using CMake...
|
||||||
...
|
...
|
||||||
✔️ Built 📂ninja repository in 47 sec.
|
✅ Build of 📂ninja succeeded in 47s, results in: 📂C:\Repos\ninja\_results
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -45,16 +46,16 @@ Script Content
|
|||||||
```powershell
|
```powershell
|
||||||
<#
|
<#
|
||||||
.SYNOPSIS
|
.SYNOPSIS
|
||||||
Builds a repository
|
Builds a repo
|
||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
This PowerShell script builds a Git repository by supporting build systems such as: autogen, cmake, configure, Gradle, Imakefile, Makefile, and Meson.
|
This PowerShell script builds a Git repository by supporting the build systems: autogen, cmake, configure, Gradle, Imakefile, Makefile, and Meson.
|
||||||
.PARAMETER path
|
.PARAMETER path
|
||||||
Specifies the path to the Git repository (default is current working directory)
|
Specifies the path to the Git repository (current working directory by default)
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./build-repo.ps1 C:\Repos\ninja
|
PS> ./build-repo.ps1 C:\Repos\ninja
|
||||||
⏳ Building 📂ninja using CMakeLists.txt into 📂ninja/_Build_Results...
|
⏳ Building 📂ninja by using CMake...
|
||||||
...
|
...
|
||||||
✔️ Built 📂ninja repository in 47 sec.
|
✅ Build of 📂ninja succeeded in 47s, results in: 📂C:\Repos\ninja\_results
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -63,114 +64,114 @@ Script Content
|
|||||||
|
|
||||||
param([string]$path = "$PWD")
|
param([string]$path = "$PWD")
|
||||||
|
|
||||||
function BuildInDir([string]$path) {
|
function BuildFolder([string]$path) {
|
||||||
$dirName = (Get-Item "$path").Name
|
$dirName = (Get-Item "$path").Name
|
||||||
if (Test-Path "$path/CMakeLists.txt" -pathType leaf) {
|
if (Test-Path "$path/CMakeLists.txt" -pathType leaf) {
|
||||||
"⏳ (1/4) Building 📂$dirName by using CMake into 📂$dirName/_Build_Results..."
|
"⏳ (1/4) Building 📂$dirName by using CMake..."
|
||||||
if (-not(Test-Path "$path/_Build_Results/" -pathType container)) {
|
$global:results = "$path/_results/"
|
||||||
& mkdir "$path/_Build_Results/"
|
if (-not(Test-Path $global:results -pathType container)) {
|
||||||
|
& mkdir $global:results
|
||||||
}
|
}
|
||||||
Set-Location "$path/_Build_Results/"
|
Set-Location $global:results
|
||||||
|
|
||||||
"⏳ (2/4) Executing 'cmake' to generate the Makefile..."
|
"⏳ (2/4) Executing 'cmake' to generate the Makefile..."
|
||||||
& cmake ..
|
& cmake ..
|
||||||
if ($lastExitCode -ne "0") { throw "Executing 'cmake ..' exited with error code $lastExitCode" }
|
if ($lastExitCode -ne 0) { throw "Executing 'cmake ..' failed with exit code $lastExitCode" }
|
||||||
|
|
||||||
"⏳ (3/4) Executing 'make -j4' to compile and link..."
|
"⏳ (3/4) Executing 'make -j4' to compile and link..."
|
||||||
& make -j4
|
& make -j4
|
||||||
if ($lastExitCode -ne "0") { throw "Executing 'make -j4' exited with error code $lastExitCode" }
|
if ($lastExitCode -ne 0) { throw "Executing 'make -j4' failed with exit code $lastExitCode" }
|
||||||
|
|
||||||
"⏳ (4/4) Executing 'ctest -V' to perform tests (optional)..."
|
"⏳ (4/4) Executing 'ctest -V'... (if tests are provided)"
|
||||||
& ctest -V
|
& ctest -V
|
||||||
if ($lastExitCode -ne "0") { throw "Executing 'ctest -V' exited with error code $lastExitCode" }
|
if ($lastExitCode -ne 0) { throw "Executing 'ctest -V' failed with exit code $lastExitCode" }
|
||||||
|
|
||||||
} elseif (Test-Path "$path/autogen.sh" -pathType leaf) {
|
} elseif (Test-Path "$path/autogen.sh" -pathType leaf) {
|
||||||
"⏳ Building 📂$dirName by using 'autogen.sh'..."
|
"⏳ Building 📂$dirName by executing 'autogen.sh'..."
|
||||||
Set-Location "$path/"
|
Set-Location "$path/"
|
||||||
|
|
||||||
& ./autogen.sh --force
|
& ./autogen.sh --force
|
||||||
if ($lastExitCode -ne "0") { throw "Executing './autogen.sh --force' exited with error code $lastExitCode" }
|
if ($lastExitCode -ne 0) { throw "Executing './autogen.sh --force' failed with exit code $lastExitCode" }
|
||||||
|
"⏳ Executing './configure'..."
|
||||||
|
|
||||||
& ./configure
|
& ./configure
|
||||||
if ($lastExitCode -ne "0") { throw "Executing './configure' exited with error code $lastExitCode" }
|
if ($lastExitCode -ne 0) { throw "Executing './configure' failed with exit code $lastExitCode" }
|
||||||
|
|
||||||
& make -j4
|
& make -j4
|
||||||
if ($lastExitCode -ne "0") { throw "Executing 'make -j4' exited with error code $lastExitCode" }
|
if ($lastExitCode -ne 0) { throw "Executing 'make -j4' failed with exit code $lastExitCode" }
|
||||||
|
|
||||||
|
|
||||||
} elseif (Test-Path "$path/configure" -pathType leaf) {
|
} elseif (Test-Path "$path/configure" -pathType leaf) {
|
||||||
"⏳ Building 📂$dirName by using 'configure'..."
|
"⏳ Building 📂$dirName by executing './configure' and 'make'..."
|
||||||
Set-Location "$path/"
|
Set-Location "$path/"
|
||||||
|
|
||||||
& ./configure
|
& ./configure
|
||||||
#if ($lastExitCode -ne "0") { throw "Executing './configure' exited with error code $lastExitCode" }
|
#if ($lastExitCode -ne 0) { throw "Executing './configure' exited with error code $lastExitCode" }
|
||||||
|
|
||||||
& make -j4
|
& make -j4
|
||||||
if ($lastExitCode -ne "0") { throw "Executing 'make -j4' has failed" }
|
if ($lastExitCode -ne 0) { throw "Executing 'make -j4' failed with exit code $lastExitCode" }
|
||||||
|
|
||||||
& make test
|
& make test
|
||||||
if ($lastExitCode -ne "0") { throw "Executing 'make test' has failed" }
|
if ($lastExitCode -ne 0) { throw "Executing 'make test' failed with exit code $lastExitCode" }
|
||||||
|
|
||||||
} elseif (Test-Path "$path/build.gradle" -pathType leaf) {
|
} elseif (Test-Path "$path/build.gradle" -pathType leaf) {
|
||||||
"⏳ Building 📂$dirName by using Gradle..."
|
"⏳ Building 📂$dirName by using Gradle..."
|
||||||
Set-Location "$path"
|
Set-Location "$path"
|
||||||
|
|
||||||
& gradle build
|
& gradle build
|
||||||
if ($lastExitCode -ne "0") { throw "Executing 'gradle build' exited with error code $lastExitCode" }
|
if ($lastExitCode -ne 0) { throw "Executing 'gradle build' failed with exit code $lastExitCode" }
|
||||||
|
|
||||||
& gradle test
|
& gradle test
|
||||||
if ($lastExitCode -ne "0") { throw "Executing 'gradle test' exited with error code $lastExitCode" }
|
if ($lastExitCode -ne 0) { throw "Executing 'gradle test' failed with exit code $lastExitCode" }
|
||||||
|
|
||||||
} elseif (Test-Path "$path/meson.build" -pathType leaf) {
|
} elseif (Test-Path "$path/meson.build" -pathType leaf) {
|
||||||
"⏳ Building 📂$dirName by using Meson..."
|
"⏳ Building 📂$dirName by using Meson..."
|
||||||
Set-Location "$path"
|
Set-Location "$path"
|
||||||
& meson . build --prefix=/usr/local
|
& meson . build --prefix=/usr/local
|
||||||
if ($lastExitCode -ne "0") { throw "Executing 'meson . build' exited with error code $lastExitCode" }
|
if ($lastExitCode -ne 0) { throw "Executing 'meson . build' failed with exit code $lastExitCode" }
|
||||||
|
|
||||||
} elseif (Test-Path "$path/Imakefile" -pathType leaf) {
|
} elseif (Test-Path "$path/Imakefile" -pathType leaf) {
|
||||||
"⏳ Building 📂$dirName by using Imakefile..."
|
"⏳ Building 📂$dirName by using Imakefile..."
|
||||||
Set-Location "$path/"
|
Set-Location "$path/"
|
||||||
|
|
||||||
& xmkmf
|
& xmkmf
|
||||||
if ($lastExitCode -ne "0") { throw "Executing 'xmkmf' has failed" }
|
if ($lastExitCode -ne 0) { throw "Executing 'xmkmf' failed with exit code $lastExitCode" }
|
||||||
|
|
||||||
& make -j4
|
& make -j4
|
||||||
if ($lastExitCode -ne "0") { throw "Executing 'make -j4' has failed" }
|
if ($lastExitCode -ne 0) { throw "Executing 'make -j4' failed with exit code $lastExitCode" }
|
||||||
|
|
||||||
} elseif (Test-Path "$path/Makefile" -pathType leaf) {
|
} elseif (Test-Path "$path/Makefile" -pathType leaf) {
|
||||||
"⏳ Building 📂$dirName by using Makefile..."
|
"⏳ Building 📂$dirName by using Makefile..."
|
||||||
Set-Location "$path"
|
Set-Location "$path"
|
||||||
|
|
||||||
& make -j4
|
& make -j4
|
||||||
if ($lastExitCode -ne "0") { throw "Executing 'make -j4' has failed" }
|
if ($lastExitCode -ne 0) { throw "Executing 'make -j4' failed with exit code $lastExitCode" }
|
||||||
|
|
||||||
} elseif (Test-Path "$path/makefile" -pathType leaf) {
|
} elseif (Test-Path "$path/makefile" -pathType leaf) {
|
||||||
"⏳ Building 📂$dirName by using makefile..."
|
"⏳ Building 📂$dirName by using makefile..."
|
||||||
Set-Location "$path"
|
Set-Location "$path"
|
||||||
|
|
||||||
& make -j4
|
& make -j4
|
||||||
if ($lastExitCode -ne "0") { throw "Executing 'make -j4' has failed" }
|
if ($lastExitCode -ne 0) { throw "Executing 'make -j4' failed with exit code $lastExitCode" }
|
||||||
|
|
||||||
} elseif (Test-Path "$path/compile.sh" -pathType leaf) {
|
} elseif (Test-Path "$path/compile.sh" -pathType leaf) {
|
||||||
"⏳ Building 📂$dirName by using 'compile.sh'..."
|
"⏳ Building 📂$dirName by executing 'compile.sh'..."
|
||||||
Set-Location "$path/"
|
Set-Location "$path/"
|
||||||
|
|
||||||
& ./compile.sh
|
& ./compile.sh
|
||||||
if ($lastExitCode -ne "0") { throw "Executing './compile.sh' exited with error code $lastExitCode" }
|
if ($lastExitCode -ne 0) { throw "Executing './compile.sh' failed with exit code $lastExitCode" }
|
||||||
|
|
||||||
& make -j4
|
& make -j4
|
||||||
if ($lastExitCode -ne "0") { throw "Executing 'make -j4' has failed" }
|
if ($lastExitCode -ne 0) { throw "Executing 'make -j4' failed with exit code $lastExitCode" }
|
||||||
|
|
||||||
} elseif (Test-Path "$path/attower/src/build/DevBuild/build.bat" -pathType leaf) {
|
} elseif (Test-Path "$path/attower/src/build/DevBuild/build.bat" -pathType leaf) {
|
||||||
"⏳ Building 📂$dirName by using build.bat ..."
|
|
||||||
Set-Location "$path/attower/src/build/DevBuild/"
|
|
||||||
|
|
||||||
& ./build.bat build-all-release
|
Write-Host "⏳ Building 📂$dirName by executing 'build.bat'..."
|
||||||
if ($lastExitCode -ne "0") { throw "Executing 'build.bat build-all-release' exited with error code $lastExitCode" }
|
Set-Location "$path/attower/src/build/DevBuild/"
|
||||||
|
& ./build.bat build-core-release
|
||||||
|
if ($lastExitCode -ne 0) { throw "Executing 'build.bat' failed with exit code $lastExitCode" }
|
||||||
|
$global:results = "$path\attower\Executables"
|
||||||
|
|
||||||
} elseif (Test-Path "$path/$dirName" -pathType container) {
|
} elseif (Test-Path "$path/$dirName" -pathType container) {
|
||||||
"⏳ No make rule found, trying subfolder 📂$($dirName)..."
|
"⏳ No make rule found, trying subfolder 📂$($dirName)..."
|
||||||
BuildInDir "$path/$dirName"
|
BuildFolder "$path/$dirName"
|
||||||
} else {
|
} else {
|
||||||
Write-Warning "Sorry, no make rule applies to: 📂$dirName"
|
Write-Warning "Sorry, no make rule applies to: 📂$dirName"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
@ -179,21 +180,27 @@ function BuildInDir([string]$path) {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
$stopWatch = [system.diagnostics.stopwatch]::startNew()
|
$stopWatch = [system.diagnostics.stopwatch]::startNew()
|
||||||
|
|
||||||
if (-not(Test-Path "$path" -pathType container)) { throw "Can't access directory: $path" }
|
|
||||||
|
|
||||||
$previousPath = Get-Location
|
$previousPath = Get-Location
|
||||||
BuildInDir "$path"
|
|
||||||
|
if (-not(Test-Path "$path" -pathType container)) { throw "The file path '$path' doesn't exist (yet)" }
|
||||||
|
|
||||||
|
$global:results = ""
|
||||||
|
BuildFolder "$path"
|
||||||
Set-Location "$previousPath"
|
Set-Location "$previousPath"
|
||||||
|
|
||||||
$repoDirName = (Get-Item "$path").Name
|
$repoDirName = (Get-Item "$path").Name
|
||||||
[int]$elapsed = $stopWatch.Elapsed.TotalSeconds
|
[int]$elapsed = $stopWatch.Elapsed.TotalSeconds
|
||||||
"✔️ Built 📂$repoDirName repository in $elapsed sec."
|
if ($global:results -eq "") {
|
||||||
|
"✅ Build of 📂$repoDirName succeeded in $($elapsed)s."
|
||||||
|
} else {
|
||||||
|
"✅ Build of 📂$repoDirName succeeded in $($elapsed)s, results in: 📂$($global:results)"
|
||||||
|
}
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
|
Set-Location "$previousPath"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of build-repo.ps1 as of 08/15/2024 09:50:44)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *build-repos.ps1*
|
The *build-repos.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script builds all Git repositories in a folder.
|
This PowerShell script builds all Git repositories in a folder.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./build-repos.ps1 [[-ParentDir] <String>] [<CommonParameters>]
|
/Repos/PowerShell/scripts/build-repos.ps1 [[-ParentDir] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-ParentDir <String>
|
-ParentDir <String>
|
||||||
Specifies the path to the parent folder
|
Specifies the path to the parent folder
|
||||||
@ -15,6 +15,7 @@ PS> ./build-repos.ps1 [[-ParentDir] <String>] [<CommonParameters>]
|
|||||||
Position? 1
|
Position? 1
|
||||||
Default value "$PWD"
|
Default value "$PWD"
|
||||||
Accept pipeline input? false
|
Accept pipeline input? false
|
||||||
|
Aliases
|
||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
@ -74,7 +75,7 @@ try {
|
|||||||
}
|
}
|
||||||
|
|
||||||
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
|
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
|
||||||
"✔️ built $FolderCount Git repositories at 📂$ParentDirName in $Elapsed sec"
|
"✅ Built $FolderCount Git repositories at 📂$ParentDirName in $Elapsed sec"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
@ -82,4 +83,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of build-repos.ps1 as of 08/15/2024 09:50:44)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-autostart.ps1*
|
The *cd-autostart.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the user's autostart folder.
|
This PowerShell script changes the working directory to the user's autostart folder.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-autostart.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-autostart.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -47,17 +47,17 @@ Script Content
|
|||||||
#>
|
#>
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$Path = Resolve-Path "$HOME/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup"
|
$path = Resolve-Path "~/AppData/Roaming/Microsoft/Windows/Start Menu/Programs/Startup"
|
||||||
if (-not(Test-Path "$Path" -pathType container)) {
|
if (-not(Test-Path "$path" -pathType container)) {
|
||||||
throw "Autostart folder at 📂$Path doesn't exist (yet)"
|
throw "No autostart folder at 📂$path"
|
||||||
}
|
}
|
||||||
Set-Location "$Path"
|
Set-Location "$path"
|
||||||
"📂$Path"
|
"📂$path"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error: $($Error[0])"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-autostart.ps1 as of 08/15/2024 09:50:44)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-crashdumps.ps1*
|
The *cd-crashdumps.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the crash dumps directory (Windows only). Whenever a software crashes and crash dumps are enabled(!) a crash dump file is written. This file helps to identify the reason for the crash.
|
This PowerShell script changes the working directory to the crash dumps directory (Windows only). Whenever a software crashes and crash dumps are enabled(!) a crash dump file is written. This file helps to identify the reason for the crash.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-crashdumps.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-crashdumps.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -17,7 +17,7 @@ Example
|
|||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-crashdumps
|
PS> ./cd-crashdumps
|
||||||
📂C:\Users\Markus\AppData\Local\CrashDumps
|
📂C:\Users\Markus\AppData\Local\CrashDumps entered (has 3 files and 0 folders)
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -39,7 +39,7 @@ Script Content
|
|||||||
This PowerShell script changes the working directory to the crash dumps directory (Windows only). Whenever a software crashes and crash dumps are enabled(!) a crash dump file is written. This file helps to identify the reason for the crash.
|
This PowerShell script changes the working directory to the crash dumps directory (Windows only). Whenever a software crashes and crash dumps are enabled(!) a crash dump file is written. This file helps to identify the reason for the crash.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./cd-crashdumps
|
PS> ./cd-crashdumps
|
||||||
📂C:\Users\Markus\AppData\Local\CrashDumps
|
📂C:\Users\Markus\AppData\Local\CrashDumps entered (has 3 files and 0 folders)
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -50,17 +50,19 @@ try {
|
|||||||
if ($IsLinux) { throw "Sorry, Windows only" }
|
if ($IsLinux) { throw "Sorry, Windows only" }
|
||||||
|
|
||||||
[string]$path = Resolve-Path -Path "~"
|
[string]$path = Resolve-Path -Path "~"
|
||||||
if (!(Test-Path "$path" -pathType container)) { throw "Home directory at $path doesn't exist (yet)" }
|
if (!(Test-Path "$path" -pathType container)) { throw "No home directory at $path" }
|
||||||
|
|
||||||
$path += "\AppData\Local\CrashDumps"
|
$path += "\AppData\Local\CrashDumps"
|
||||||
if (!(Test-Path "$path" -pathType container)) { throw "Crashdumps directory at $path doesn't exist (yet)" }
|
if (!(Test-Path "$path" -pathType container)) { throw "No crashdumps folder at $path" }
|
||||||
Set-Location "$Path"
|
Set-Location "$Path"
|
||||||
"📂$path"
|
$files = Get-ChildItem $path -attributes !Directory
|
||||||
|
$folders = Get-ChildItem $path -attributes Directory
|
||||||
|
"📂$path entered (has $($files.Count) files and $($folders.Count) folders)"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error: $($Error[0])"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-crashdumps.ps1 as of 08/15/2024 09:50:44)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-desktop.ps1*
|
The *cd-desktop.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the user's desktop folder.
|
This PowerShell script changes the working directory to the user's desktop folder.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-desktop.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-desktop.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -47,21 +47,24 @@ Script Content
|
|||||||
#>
|
#>
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if ($IsLinux) {
|
if ($IsLinux -or $IsMacOS) {
|
||||||
$Path = Resolve-Path "~/Desktop"
|
if (-not(Test-Path "~/Desktop" -pathType container)) {
|
||||||
|
throw "No 📂Desktop folder in your home directory yet"
|
||||||
|
}
|
||||||
|
$path = Resolve-Path "~/Desktop"
|
||||||
} else {
|
} else {
|
||||||
$Path = [Environment]::GetFolderPath('DesktopDirectory')
|
$path = [Environment]::GetFolderPath('DesktopDirectory')
|
||||||
|
if (-not(Test-Path "$path" -pathType container)) {
|
||||||
|
throw "No desktop folder at 📂$path yet"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (Test-Path "$Path" -pathType container) {
|
Set-Location "$path"
|
||||||
Set-Location "$Path"
|
"📂$path"
|
||||||
"📂$Path"
|
exit 0 # success
|
||||||
exit 0 # success
|
|
||||||
}
|
|
||||||
throw "User's desktop folder at 📂$Path doesn't exist (yet)"
|
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error: $($Error[0])"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-desktop.ps1 as of 08/15/2024 09:50:44)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-docs.ps1*
|
The *cd-docs.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the documents folder.
|
This PowerShell script changes the working directory to the documents folder.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-docs.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-docs.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -17,7 +17,7 @@ Example
|
|||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-docs
|
PS> ./cd-docs
|
||||||
📂C:\Users\Markus\Documents
|
📂C:\Users\Markus\Documents entered (has 3 files and 0 folders)
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -39,7 +39,7 @@ Script Content
|
|||||||
This PowerShell script changes the working directory to the documents folder.
|
This PowerShell script changes the working directory to the documents folder.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./cd-docs
|
PS> ./cd-docs
|
||||||
📂C:\Users\Markus\Documents
|
📂C:\Users\Markus\Documents entered (has 3 files and 0 folders)
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -47,21 +47,26 @@ Script Content
|
|||||||
#>
|
#>
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if ($IsLinux) {
|
if ($IsLinux -or $IsMacOS) {
|
||||||
$Path = Resolve-Path "$HOME/Documents"
|
if (-not(Test-Path "~/Documents" -pathType container)) {
|
||||||
|
throw "No 📂Documents folder in your home directory yet"
|
||||||
|
}
|
||||||
|
$path = Resolve-Path "~/Documents"
|
||||||
} else {
|
} else {
|
||||||
$Path = [Environment]::GetFolderPath('MyDocuments')
|
$path = [Environment]::GetFolderPath('MyDocuments')
|
||||||
|
if (-not(Test-Path "$path" -pathType container)) {
|
||||||
|
throw "No documents folder at 📂$path yet"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (-not(Test-Path "$Path" -pathType container)) {
|
Set-Location "$path"
|
||||||
throw "Documents folder at 📂$Path doesn't exist (yet)"
|
$files = Get-ChildItem $path -attributes !Directory
|
||||||
}
|
$folders = Get-ChildItem $path -attributes Directory
|
||||||
Set-Location "$Path"
|
"📂$path entered (has $($files.Count) files and $($folders.Count) folders)"
|
||||||
"📂$Path"
|
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error: $($Error[0])"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-docs.ps1 as of 08/15/2024 09:50:44)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-downloads.ps1*
|
The *cd-downloads.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the user's downloads folder.
|
This PowerShell script changes the working directory to the user's downloads folder.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-downloads.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-downloads.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -17,7 +17,7 @@ Example
|
|||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-downloads
|
PS> ./cd-downloads
|
||||||
📂C:\Users\Markus\Downloads
|
📂C:\Users\Markus\Downloads entered (has 0 files and 0 folders)
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -39,7 +39,7 @@ Script Content
|
|||||||
This PowerShell script changes the working directory to the user's downloads folder.
|
This PowerShell script changes the working directory to the user's downloads folder.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./cd-downloads
|
PS> ./cd-downloads
|
||||||
📂C:\Users\Markus\Downloads
|
📂C:\Users\Markus\Downloads entered (has 0 files and 0 folders)
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -47,21 +47,26 @@ Script Content
|
|||||||
#>
|
#>
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if ($IsLinux) {
|
if ($IsLinux -or $IsMacOS) {
|
||||||
$Path = Resolve-Path "~/Downloads"
|
if (-not(Test-Path "~/Downloads" -pathType container)) {
|
||||||
|
throw "No 📂Downloads folder in your home directory yet"
|
||||||
|
}
|
||||||
|
$path = Resolve-Path "~/Downloads"
|
||||||
} else {
|
} else {
|
||||||
$Path = (New-Object -ComObject Shell.Application).NameSpace('shell:Downloads').Self.Path
|
$path = (New-Object -ComObject Shell.Application).NameSpace('shell:Downloads').Self.Path
|
||||||
|
if (-not(Test-Path "$path" -pathType container)) {
|
||||||
|
throw "No downloads folder at 📂$path"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (Test-Path "$Path" -pathType container) {
|
Set-Location "$path"
|
||||||
Set-Location "$Path"
|
$files = Get-ChildItem $path -attributes !Directory
|
||||||
"📂$Path"
|
$folders = Get-ChildItem $path -attributes Directory
|
||||||
exit 0 # success
|
"📂$path entered (has $($files.Count) files and $($folders.Count) folders)"
|
||||||
}
|
exit 0 # success
|
||||||
throw "User's downloads folder at 📂$Path doesn't exist (yet)"
|
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error: $($Error[0])"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-downloads.ps1 as of 08/15/2024 09:50:44)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-dropbox.ps1*
|
The *cd-dropbox.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the user's Dropbox folder.
|
This PowerShell script changes the working directory to the user's Dropbox folder.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-dropbox.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-dropbox.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -17,7 +17,7 @@ Example
|
|||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-dropbox
|
PS> ./cd-dropbox
|
||||||
📂C:\Users\Markus\Dropbox
|
📂C:\Users\Markus\Dropbox (has 2 files and 4 subfolders)
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -39,7 +39,7 @@ Script Content
|
|||||||
This PowerShell script changes the working directory to the user's Dropbox folder.
|
This PowerShell script changes the working directory to the user's Dropbox folder.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./cd-dropbox
|
PS> ./cd-dropbox
|
||||||
📂C:\Users\Markus\Dropbox
|
📂C:\Users\Markus\Dropbox (has 2 files and 4 subfolders)
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -47,17 +47,19 @@ Script Content
|
|||||||
#>
|
#>
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$Path = Resolve-Path "$HOME/Dropbox"
|
if (-not(Test-Path "~/Dropbox" -pathType container)) {
|
||||||
if (-not(Test-Path "$Path" -pathType container)) {
|
throw "No 📂Dropbox folder in your home directory - is Dropbox installed?"
|
||||||
throw "Dropbox folder at 📂$Path doesn't exist (yet)"
|
|
||||||
}
|
}
|
||||||
Set-Location "$Path"
|
$path = Resolve-Path "~/Dropbox"
|
||||||
"📂$Path"
|
Set-Location "$path"
|
||||||
|
$files = Get-ChildItem $path -attributes !Directory
|
||||||
|
$folders = Get-ChildItem $path -attributes Directory
|
||||||
|
"📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error: $($Error[0])"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-dropbox.ps1 as of 08/15/2024 09:50:44)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-etc.ps1*
|
The *cd-etc.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the /etc directory.
|
This PowerShell script changes the working directory to the /etc directory.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-etc.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-etc.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -17,7 +17,7 @@ Example
|
|||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-etc
|
PS> ./cd-etc
|
||||||
📂C:\Windows\System32\drivers\etc
|
📂C:\Windows\System32\drivers\etc (has 2 files and 3 subfolders)
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -39,7 +39,7 @@ Script Content
|
|||||||
This PowerShell script changes the working directory to the /etc directory.
|
This PowerShell script changes the working directory to the /etc directory.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./cd-etc
|
PS> ./cd-etc
|
||||||
📂C:\Windows\System32\drivers\etc
|
📂C:\Windows\System32\drivers\etc (has 2 files and 3 subfolders)
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -47,21 +47,23 @@ Script Content
|
|||||||
#>
|
#>
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if ($IsLinx) {
|
if ($IsLinux -or $IsMacOS) {
|
||||||
$Path = "/etc"
|
$path = "/etc"
|
||||||
} else {
|
} else {
|
||||||
$Path = Resolve-Path "$env:WINDIR\System32\drivers\etc"
|
$path = Resolve-Path "$env:WINDIR\System32\drivers\etc"
|
||||||
}
|
}
|
||||||
if (-not(Test-Path "$Path" -pathType container)) {
|
if (-not(Test-Path "$path" -pathType container)) {
|
||||||
throw "/etc directory at 📂$Path doesn't exist (yet)"
|
throw "No /etc directory at 📂$path"
|
||||||
}
|
}
|
||||||
Set-Location "$Path"
|
Set-Location "$path"
|
||||||
"📂$Path"
|
$files = Get-ChildItem $path -attributes !Directory
|
||||||
|
$folders = Get-ChildItem $path -attributes Directory
|
||||||
|
"📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error: $($Error[0])"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-etc.ps1 as of 08/15/2024 09:50:44)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-fonts.ps1*
|
The *cd-fonts.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the fonts folder.
|
This PowerShell script changes the working directory to the fonts folder.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-fonts.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-fonts.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -17,7 +17,7 @@ Example
|
|||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-fonts
|
PS> ./cd-fonts
|
||||||
📂C:\Windows\Fonts
|
📂C:\Windows\Fonts (has 2 file and 3 subfolders)
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -39,7 +39,7 @@ Script Content
|
|||||||
This PowerShell script changes the working directory to the fonts folder.
|
This PowerShell script changes the working directory to the fonts folder.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./cd-fonts
|
PS> ./cd-fonts
|
||||||
📂C:\Windows\Fonts
|
📂C:\Windows\Fonts (has 2 file and 3 subfolders)
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -47,17 +47,19 @@ Script Content
|
|||||||
#>
|
#>
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$Path = [Environment]::GetFolderPath('Fonts')
|
$path = [Environment]::GetFolderPath('Fonts')
|
||||||
if (-not(Test-Path "$Path" -pathType container)) {
|
if (-not(Test-Path "$path" -pathType container)) {
|
||||||
throw "Fonts folder at 📂$Path doesn't exist (yet)"
|
throw "No fonts folder at 📂$path"
|
||||||
}
|
}
|
||||||
Set-Location "$Path"
|
Set-Location "$path"
|
||||||
"📂$Path"
|
$files = Get-ChildItem $path -attributes !Directory
|
||||||
|
$folders = Get-ChildItem $path -attributes Directory
|
||||||
|
"📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error: $($Error[0])"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-fonts.ps1 as of 08/15/2024 09:50:44)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-home.ps1*
|
The *cd-home.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the user's home directory.
|
This PowerShell script changes the working directory to the user's home directory.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-home.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-home.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -16,8 +16,8 @@ PS> ./cd-home.ps1 [<CommonParameters>]
|
|||||||
Example
|
Example
|
||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-home
|
PS> ./cd-home.ps1
|
||||||
📂C:\Users\Markus
|
📂C:\Users\Markus entered (has 4 files and 7 subfolders)
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -38,8 +38,8 @@ Script Content
|
|||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
This PowerShell script changes the working directory to the user's home directory.
|
This PowerShell script changes the working directory to the user's home directory.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./cd-home
|
PS> ./cd-home.ps1
|
||||||
📂C:\Users\Markus
|
📂C:\Users\Markus entered (has 4 files and 7 subfolders)
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -47,17 +47,17 @@ Script Content
|
|||||||
#>
|
#>
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$Path = Resolve-Path -Path "~"
|
if (-not(Test-Path "~" -pathType container)) { throw "No home directory at $path" }
|
||||||
if (Test-Path "$Path" -pathType container) {
|
$path = Resolve-Path "~"
|
||||||
Set-Location "$Path"
|
Set-Location "$path"
|
||||||
"📂$Path"
|
$files = Get-ChildItem $path -attributes !Directory
|
||||||
exit 0 # success
|
$folders = Get-ChildItem $path -attributes Directory
|
||||||
}
|
"📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)"
|
||||||
throw "User's home folder at 📂$Path doesn't exist (yet)"
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error: $($Error[0])"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-home.ps1 as of 08/15/2024 09:50:44)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
68
docs/cd-jenkins.md
Normal file
68
docs/cd-jenkins.md
Normal file
@ -0,0 +1,68 @@
|
|||||||
|
The *cd-jenkins.ps1* Script
|
||||||
|
===========================
|
||||||
|
|
||||||
|
This PowerShell script changes the working directory to the Jenkins home directory.
|
||||||
|
|
||||||
|
Parameters
|
||||||
|
----------
|
||||||
|
```powershell
|
||||||
|
/Repos/PowerShell/scripts/cd-jenkins.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
|
[<CommonParameters>]
|
||||||
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
|
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||||
|
```
|
||||||
|
|
||||||
|
Example
|
||||||
|
-------
|
||||||
|
```powershell
|
||||||
|
PS> ./cd-jenkins
|
||||||
|
📂C:\Users\Markus\.jenkins entered (has 2 files and 21 folders)
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
Notes
|
||||||
|
-----
|
||||||
|
Author: Markus Fleschutz | License: CC0
|
||||||
|
|
||||||
|
Related Links
|
||||||
|
-------------
|
||||||
|
https://github.com/fleschutz/PowerShell
|
||||||
|
|
||||||
|
Script Content
|
||||||
|
--------------
|
||||||
|
```powershell
|
||||||
|
<#
|
||||||
|
.SYNOPSIS
|
||||||
|
Changes to the Jenkins home directory
|
||||||
|
.DESCRIPTION
|
||||||
|
This PowerShell script changes the working directory to the Jenkins home directory.
|
||||||
|
.EXAMPLE
|
||||||
|
PS> ./cd-jenkins
|
||||||
|
📂C:\Users\Markus\.jenkins entered (has 2 files and 21 folders)
|
||||||
|
.LINK
|
||||||
|
https://github.com/fleschutz/PowerShell
|
||||||
|
.NOTES
|
||||||
|
Author: Markus Fleschutz | License: CC0
|
||||||
|
#>
|
||||||
|
|
||||||
|
try {
|
||||||
|
if (Test-Path "~/.jenkins" -pathType container) {
|
||||||
|
$path = "~/.jenkins"
|
||||||
|
} elseif (Test-Path "/var/snap/jenkins" -pathType container) {
|
||||||
|
$path = "/var/snap/jenkins"
|
||||||
|
} else {
|
||||||
|
throw "No Jenkins home directory found - is Jenkins installed?"
|
||||||
|
}
|
||||||
|
Set-Location "$path"
|
||||||
|
$files = Get-ChildItem $path -attributes !Directory
|
||||||
|
$folders = Get-ChildItem $path -attributes Directory
|
||||||
|
"📂$path entered (has $($files.Count) files and $($folders.Count) folders)"
|
||||||
|
exit 0 # success
|
||||||
|
} catch {
|
||||||
|
"⚠️ Error: $($Error[0])"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
@ -1,5 +1,5 @@
|
|||||||
Script: *cd-logs.ps1*
|
The *cd-logs.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
cd-logs.ps1
|
cd-logs.ps1
|
||||||
|
|
||||||
@ -24,7 +24,7 @@ Script Content
|
|||||||
This PowerShell script changes the current working directory to the logs directory.
|
This PowerShell script changes the current working directory to the logs directory.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./cd-logs
|
PS> ./cd-logs
|
||||||
📂/var/logs
|
📂/var/logs entered (has 3 files and 2 subfolders)
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -32,20 +32,22 @@ Script Content
|
|||||||
#>
|
#>
|
||||||
|
|
||||||
function GetLogsDir {
|
function GetLogsDir {
|
||||||
if ($IsLinux) { return "/var/logs" }
|
if ($IsLinux -or $IsMacOS) { return "/var/logs" }
|
||||||
$WinDir = [System.Environment]::GetFolderPath('Windows')
|
$WinDir = [System.Environment]::GetFolderPath('Windows')
|
||||||
return "$WinDir\Logs"
|
return "$WinDir\Logs"
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$Path = GetLogsDir
|
$path = GetLogsDir
|
||||||
Set-Location "$Path"
|
Set-Location "$path"
|
||||||
"📂$Path"
|
$files = Get-ChildItem $path -attributes !Directory
|
||||||
|
$folders = Get-ChildItem $path -attributes Directory
|
||||||
|
"📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error: $($Error[0])"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-logs.ps1 as of 08/15/2024 09:50:44)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-music.ps1*
|
The *cd-music.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the user's music folder.
|
This PowerShell script changes the working directory to the user's music folder.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-music.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-music.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -17,7 +17,7 @@ Example
|
|||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-music
|
PS> ./cd-music
|
||||||
📂C:\Users\Markus\Music
|
📂C:\Users\Markus\Music entered (has 0 files and 3 subfolders)
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -39,7 +39,7 @@ Script Content
|
|||||||
This PowerShell script changes the working directory to the user's music folder.
|
This PowerShell script changes the working directory to the user's music folder.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./cd-music
|
PS> ./cd-music
|
||||||
📂C:\Users\Markus\Music
|
📂C:\Users\Markus\Music entered (has 0 files and 3 subfolders)
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -48,20 +48,22 @@ Script Content
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
if ($IsLinux) {
|
if ($IsLinux) {
|
||||||
$Path = Resolve-Path "~/Music"
|
$path = Resolve-Path "~/Music"
|
||||||
} else {
|
} else {
|
||||||
$Path = [Environment]::GetFolderPath('MyMusic')
|
$path = [Environment]::GetFolderPath('MyMusic')
|
||||||
}
|
}
|
||||||
if (Test-Path "$Path" -pathType container) {
|
if (-not(Test-Path "$path" -pathType container)) {
|
||||||
Set-Location "$Path"
|
throw "No music folder at 📂$path"
|
||||||
"📂$Path"
|
|
||||||
exit 0 # success
|
|
||||||
}
|
}
|
||||||
throw "User's music folder at 📂$Path doesn't exist (yet)"
|
Set-Location "$path"
|
||||||
|
$files = Get-ChildItem $path -attributes !Directory
|
||||||
|
$folders = Get-ChildItem $path -attributes Directory
|
||||||
|
"📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)"
|
||||||
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error: $($Error[0])"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-music.ps1 as of 08/15/2024 09:50:44)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
65
docs/cd-nextcloud.md
Normal file
65
docs/cd-nextcloud.md
Normal file
@ -0,0 +1,65 @@
|
|||||||
|
The *cd-nextcloud.ps1* Script
|
||||||
|
===========================
|
||||||
|
|
||||||
|
This PowerShell script changes the working directory to the user's NextCloud folder.
|
||||||
|
|
||||||
|
Parameters
|
||||||
|
----------
|
||||||
|
```powershell
|
||||||
|
/Repos/PowerShell/scripts/cd-nextcloud.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
|
[<CommonParameters>]
|
||||||
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
|
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||||
|
```
|
||||||
|
|
||||||
|
Example
|
||||||
|
-------
|
||||||
|
```powershell
|
||||||
|
PS> ./cd-nextcloud
|
||||||
|
📂C:\Users\Markus\NextCloud entered (has 2 files and 3 subfolders)
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
Notes
|
||||||
|
-----
|
||||||
|
Author: Markus Fleschutz | License: CC0
|
||||||
|
|
||||||
|
Related Links
|
||||||
|
-------------
|
||||||
|
https://github.com/fleschutz/PowerShell
|
||||||
|
|
||||||
|
Script Content
|
||||||
|
--------------
|
||||||
|
```powershell
|
||||||
|
<#
|
||||||
|
.SYNOPSIS
|
||||||
|
Sets the working directory to the user's NextCloud folder
|
||||||
|
.DESCRIPTION
|
||||||
|
This PowerShell script changes the working directory to the user's NextCloud folder.
|
||||||
|
.EXAMPLE
|
||||||
|
PS> ./cd-nextcloud
|
||||||
|
📂C:\Users\Markus\NextCloud entered (has 2 files and 3 subfolders)
|
||||||
|
.LINK
|
||||||
|
https://github.com/fleschutz/PowerShell
|
||||||
|
.NOTES
|
||||||
|
Author: Markus Fleschutz | License: CC0
|
||||||
|
#>
|
||||||
|
|
||||||
|
try {
|
||||||
|
$path = Resolve-Path "~/NextCloud"
|
||||||
|
if (-not(Test-Path "$path" -pathType container)) {
|
||||||
|
throw "No NextCloud folder at $path - is NextCloud installed?"
|
||||||
|
}
|
||||||
|
Set-Location "$path"
|
||||||
|
$files = Get-ChildItem $path -attributes !Directory
|
||||||
|
$folders = Get-ChildItem $path -attributes Directory
|
||||||
|
"📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)"
|
||||||
|
exit 0 # success
|
||||||
|
} catch {
|
||||||
|
"⚠️ Error: $($Error[0])"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-onedrive.ps1*
|
The *cd-onedrive.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the user's OneDrive folder.
|
This PowerShell script changes the working directory to the user's OneDrive folder.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-onedrive.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-onedrive.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -17,7 +17,7 @@ Example
|
|||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-onedrive
|
PS> ./cd-onedrive
|
||||||
📂C:\Users\Markus\OneDrive
|
📂C:\Users\Markus\OneDrive entered (has 2 files and 3 subfolders)
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -39,7 +39,7 @@ Script Content
|
|||||||
This PowerShell script changes the working directory to the user's OneDrive folder.
|
This PowerShell script changes the working directory to the user's OneDrive folder.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./cd-onedrive
|
PS> ./cd-onedrive
|
||||||
📂C:\Users\Markus\OneDrive
|
📂C:\Users\Markus\OneDrive entered (has 2 files and 3 subfolders)
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -47,17 +47,19 @@ Script Content
|
|||||||
#>
|
#>
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$Path = Resolve-Path "$HOME/OneDrive"
|
$path = Resolve-Path "~/OneDrive"
|
||||||
if (-not(Test-Path "$Path" -pathType container)) {
|
if (-not(Test-Path "$path" -pathType container)) {
|
||||||
throw "OneDrive folder at 📂$Path doesn't exist (yet)"
|
throw "No OneDrive folder at $path - is OneDrive installed?"
|
||||||
}
|
}
|
||||||
Set-Location "$Path"
|
Set-Location "$path"
|
||||||
"📂$Path"
|
$files = Get-ChildItem $path -attributes !Directory
|
||||||
|
$folders = Get-ChildItem $path -attributes Directory
|
||||||
|
"📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error: $($Error[0])"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-onedrive.ps1 as of 08/15/2024 09:50:44)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-pics.ps1*
|
The *cd-pics.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the user's pictures folder.
|
This PowerShell script changes the working directory to the user's pictures folder.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-pics.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-pics.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -17,7 +17,7 @@ Example
|
|||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-pics
|
PS> ./cd-pics
|
||||||
📂C:\Users\Markus\Pictures
|
📂C:\Users\Markus\Pictures entered (has 7 files and 0 subfolders)
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -39,7 +39,7 @@ Script Content
|
|||||||
This PowerShell script changes the working directory to the user's pictures folder.
|
This PowerShell script changes the working directory to the user's pictures folder.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./cd-pics
|
PS> ./cd-pics
|
||||||
📂C:\Users\Markus\Pictures
|
📂C:\Users\Markus\Pictures entered (has 7 files and 0 subfolders)
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -48,18 +48,22 @@ Script Content
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
if ($IsLinux) {
|
if ($IsLinux) {
|
||||||
$Path = Resolve-Path "$HOME/Pictures"
|
$path = Resolve-Path "~/Pictures"
|
||||||
} else {
|
} else {
|
||||||
$Path = [Environment]::GetFolderPath('MyPictures')
|
$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)) {
|
||||||
Set-Location "$Path"
|
throw "No pictures folder at $path"
|
||||||
"📂$Path"
|
}
|
||||||
|
Set-Location "$path"
|
||||||
|
$files = Get-ChildItem $path -attributes !Directory
|
||||||
|
$folders = Get-ChildItem $path -attributes Directory
|
||||||
|
"📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error: $($Error[0])"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-pics.ps1 as of 08/15/2024 09:50:44)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-public.ps1*
|
The *cd-public.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the Public folder.
|
This PowerShell script changes the working directory to the Public folder.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-public.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-public.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -17,7 +17,7 @@ Example
|
|||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-public
|
PS> ./cd-public
|
||||||
📂C:\Users\Public
|
📂C:\Users\Public entered (has 2 files and 3 subfolders)
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -39,7 +39,7 @@ Script Content
|
|||||||
This PowerShell script changes the working directory to the Public folder.
|
This PowerShell script changes the working directory to the Public folder.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./cd-public
|
PS> ./cd-public
|
||||||
📂C:\Users\Public
|
📂C:\Users\Public entered (has 2 files and 3 subfolders)
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -48,18 +48,22 @@ Script Content
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
if ($IsLinux) {
|
if ($IsLinux) {
|
||||||
$Path = Resolve-Path "~/Public"
|
$path = Resolve-Path "~/Public"
|
||||||
} else {
|
} else {
|
||||||
$Path = Resolve-Path "~/../Public"
|
$path = Resolve-Path "~/../Public"
|
||||||
}
|
}
|
||||||
if (-not(Test-Path "$Path" -pathType container)) { throw "Public folder at 📂$Path doesn't exist (yet)" }
|
if (-not(Test-Path "$path" -pathType container)) {
|
||||||
Set-Location "$Path"
|
throw "No public folder at $path"
|
||||||
"📂$Path"
|
}
|
||||||
|
Set-Location "$path"
|
||||||
|
$files = Get-ChildItem $path -attributes !Directory
|
||||||
|
$folders = Get-ChildItem $path -attributes Directory
|
||||||
|
"📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error: $($Error[0])"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-public.ps1 as of 08/15/2024 09:50:44)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-recent.ps1*
|
The *cd-recent.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the 'recent' folder.
|
This PowerShell script changes the working directory to the 'recent' folder.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-recent.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-recent.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -17,7 +17,7 @@ Example
|
|||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-recent
|
PS> ./cd-recent
|
||||||
📂C:\Users\Markus\AppData\Roaming\Microsoft\Windows\Recent
|
📂C:\Users\Markus\AppData\Roaming\Microsoft\Windows\Recent entered (has 2 files and 3 subfolders)
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -39,7 +39,7 @@ Script Content
|
|||||||
This PowerShell script changes the working directory to the 'recent' folder.
|
This PowerShell script changes the working directory to the 'recent' folder.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./cd-recent
|
PS> ./cd-recent
|
||||||
📂C:\Users\Markus\AppData\Roaming\Microsoft\Windows\Recent
|
📂C:\Users\Markus\AppData\Roaming\Microsoft\Windows\Recent entered (has 2 files and 3 subfolders)
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -49,10 +49,12 @@ Script Content
|
|||||||
try {
|
try {
|
||||||
$path = [Environment]::GetFolderPath('Recent')
|
$path = [Environment]::GetFolderPath('Recent')
|
||||||
if (-not(Test-Path "$path" -pathType container)) {
|
if (-not(Test-Path "$path" -pathType container)) {
|
||||||
throw "Recent folder at 📂$path doesn't exist (yet)"
|
throw "No recent folder at $path"
|
||||||
}
|
}
|
||||||
Set-Location "$path"
|
Set-Location "$path"
|
||||||
"📂$path"
|
$files = Get-ChildItem $path -attributes !Directory
|
||||||
|
$folders = Get-ChildItem $path -attributes Directory
|
||||||
|
"📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
@ -60,4 +62,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-recent.ps1 as of 08/15/2024 09:50:44)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Script: *cd-recycle-bin.ps1*
|
The *cd-recycle-bin.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
cd-recycle-bin.ps1
|
cd-recycle-bin.ps1
|
||||||
|
|
||||||
@ -24,7 +24,7 @@ Script Content
|
|||||||
This PowerShell script changes the working directory to the user's recycle bin folder.
|
This PowerShell script changes the working directory to the user's recycle bin folder.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./cd-recycle-bin
|
PS> ./cd-recycle-bin
|
||||||
📂C:\$Recycle.Bin\S-1-5-21-123404-23309-294260-1001
|
📂C:\$Recycle.Bin\S-1-5-21-123404-23309-294260-1001 entered (has 2 files and 0 subfolders)
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -39,18 +39,22 @@ function GetCurrentUserSID { [CmdletBinding()] param()
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
if ($IsLinux) {
|
if ($IsLinux) {
|
||||||
$path = "$HOME/.local/share/Trash/"
|
$path = "~/.local/share/Trash/"
|
||||||
} else {
|
} else {
|
||||||
$path = "C:\`$Recycle.Bin\$(GetCurrentUserSID)"
|
$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 "No recycle bin folder at $path"
|
||||||
|
}
|
||||||
Set-Location "$path"
|
Set-Location "$path"
|
||||||
"📂$path"
|
$files = Get-ChildItem $path -attributes !Directory
|
||||||
|
$folders = Get-ChildItem $path -attributes Directory
|
||||||
|
"📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error: $($Error[0])"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-recycle-bin.ps1 as of 08/15/2024 09:50:45)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
@ -1,20 +1,21 @@
|
|||||||
Script: *cd-repo.ps1*
|
The *cd-repo.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to a local Git repository.
|
This PowerShell script changes the working directory to the given local Git repository.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-repo.ps1 [[-folderName] <String>] [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-repo.ps1 [[-folderName] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-folderName <String>
|
-folderName <String>
|
||||||
Specifies the Git repository's folder name
|
Specifies the folder name of the Git repository
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
Default value
|
Default value
|
||||||
Accept pipeline input? false
|
Accept pipeline input? false
|
||||||
|
Aliases
|
||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
@ -26,7 +27,7 @@ Example
|
|||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-repo.ps1 rust
|
PS> ./cd-repo.ps1 rust
|
||||||
📂C:\Repos\rust - current branch is: ## main ... origin/main
|
📂C:\Repos\rust entered, current branch is: ## main ... origin/main
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -43,14 +44,14 @@ Script Content
|
|||||||
```powershell
|
```powershell
|
||||||
<#
|
<#
|
||||||
.SYNOPSIS
|
.SYNOPSIS
|
||||||
Sets the working directory to a repository
|
Sets the working directory to a repo
|
||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
This PowerShell script changes the working directory to a local Git repository.
|
This PowerShell script changes the working directory to the given local Git repository.
|
||||||
.PARAMETER folderName
|
.PARAMETER folderName
|
||||||
Specifies the Git repository's folder name
|
Specifies the folder name of the Git repository
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./cd-repo.ps1 rust
|
PS> ./cd-repo.ps1 rust
|
||||||
📂C:\Repos\rust - current branch is: ## main ... origin/main
|
📂C:\Repos\rust entered, current branch is: ## main ... origin/main
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -60,28 +61,28 @@ Script Content
|
|||||||
param([string]$folderName = "")
|
param([string]$folderName = "")
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if ("$folderName" -eq "") { $folderName = Read-Host "Enter the Git repository's folder name" }
|
if ("$folderName" -eq "") { $folderName = Read-Host "Please enter the Git repository's folder name" }
|
||||||
|
|
||||||
if (Test-Path "$HOME/Repos/" -pathType Container) { # try short name
|
if (Test-Path "~/Repos" -pathType container) { $path = "~/Repos"
|
||||||
$path = "$HOME/Repos/"
|
} elseif (Test-Path "~/repos" -pathType container) { $path = "~/repos"
|
||||||
} elseif (Test-Path "$HOME/repos/" -pathType Container) {
|
} elseif (Test-Path "~/Repositories" -pathType container) { $path = "~/Repositories"
|
||||||
$path = "$HOME/repos/"
|
} elseif (Test-Path "~/repositories" -pathType container) { $path = "~/repositories"
|
||||||
} elseif (Test-Path "$HOME/Repositories/" -pathType Container) { # try long name
|
} elseif (Test-Path "/Repos" -pathType container) { $path = "/Repos"
|
||||||
$path = "$HOME/Repositories/"
|
} elseif (Test-Path "/repos" -pathType container) { $path = "/repos"
|
||||||
} elseif (Test-Path "$HOME/source/repos/" -pathType Container) { # try Visual Studio default
|
} elseif (Test-Path "/Repositories" -pathType container) { $path = "/Repositories"
|
||||||
$path = "$HOME/source/repos/"
|
} elseif (Test-Path "/repositories" -pathType container) { $path = "/repositories"
|
||||||
} elseif (Test-Path "/Repos/" -pathType Container) {
|
} elseif (Test-Path "~/source/repos" -pathType container) { $path = "~/source/repos" # Visual Studio default
|
||||||
$path = "/Repos/"
|
} elseif (Test-Path "D:/Repos" -pathType container) { $path = "D:/Repos" # second HDD
|
||||||
} else {
|
} else {
|
||||||
throw "The folder for Git repositories doesn't exist (yet)"
|
throw "No Git repositories folder in your home directory or in the root folder yet"
|
||||||
}
|
}
|
||||||
$path += $folderName
|
$path += "/" + $folderName
|
||||||
|
if (-not(Test-Path "$path" -pathType container)) { throw "The file path '$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"
|
$path = Resolve-Path "$path"
|
||||||
Set-Location "$path"
|
Set-Location "$path"
|
||||||
Write-Host "📂$path - current branch is: " -noNewline
|
Write-Host "📂$path entered, current branch is: " -noNewline
|
||||||
& git status --short --branch --show-stash
|
& git status --branch --short
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error: $($Error[0])"
|
"⚠️ Error: $($Error[0])"
|
||||||
@ -89,4 +90,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-repo.ps1 as of 08/15/2024 09:50:45)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-repos.ps1*
|
The *cd-repos.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the user's Git repositories folder.
|
This PowerShell script changes the working directory to the folder for Git repositories.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-repos.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-repos.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -17,7 +17,7 @@ Example
|
|||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-repos.ps1
|
PS> ./cd-repos.ps1
|
||||||
📂C:\Users\Markus\Repos
|
📂C:\Repos (has 33 subfolders)
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -34,14 +34,12 @@ Script Content
|
|||||||
```powershell
|
```powershell
|
||||||
<#
|
<#
|
||||||
.SYNOPSIS
|
.SYNOPSIS
|
||||||
Sets the working directory to the user's repos folder
|
Sets the working dir to the repos folder
|
||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
This PowerShell script changes the working directory to the user's Git repositories folder.
|
This PowerShell script changes the working directory to the folder for Git repositories.
|
||||||
.PARAMETER subpath
|
|
||||||
Specifies an additional relative subpath (optional)
|
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./cd-repos.ps1
|
PS> ./cd-repos.ps1
|
||||||
📂C:\Users\Markus\Repos
|
📂C:\Repos (has 33 subfolders)
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -49,23 +47,23 @@ Script Content
|
|||||||
#>
|
#>
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if (Test-Path "$HOME/Repos/" -pathType Container) { # try short name
|
if (Test-Path "~/Repos" -pathType container) { $path = "~/Repos"
|
||||||
$path = "$HOME/Repos/"
|
} elseif (Test-Path "~/repos" -pathType container) { $path = "~/repos"
|
||||||
} elseif (Test-Path "$HOME/repos/" -pathType Container) {
|
} elseif (Test-Path "~/Repositories" -pathType container) { $path = "~/Repositories"
|
||||||
$path = "$HOME/repos/"
|
} elseif (Test-Path "~/repositories" -pathType container) { $path = "~/repositories"
|
||||||
} elseif (Test-Path "$HOME/Repositories/" -pathType Container) { # try long name
|
} elseif (Test-Path "/Repos" -pathType container) { $path = "/Repos"
|
||||||
$path = "$HOME/Repositories/"
|
} elseif (Test-Path "/repos" -pathType container) { $path = "/repos"
|
||||||
} elseif (Test-Path "$HOME/source/repos/" -pathType Container) { # try Visual Studio default
|
} elseif (Test-Path "/Repositories" -pathType container) { $path = "/Repositories"
|
||||||
$path = "$HOME/source/repos/"
|
} elseif (Test-Path "/repositories" -pathType container) { $path = "/repositories"
|
||||||
} elseif (Test-Path "/Repos/" -pathType Container) {
|
} elseif (Test-Path "~/source/repos" -pathType container) { $path = "~/source/repos" # Visual Studio default
|
||||||
$path = "/Repos/"
|
} elseif (Test-Path "D:/Repos" -pathType container) { $path = "D:/Repos" # second HDD
|
||||||
} else {
|
} else {
|
||||||
throw "The folder for Git repositories doesn't exist (yet)"
|
throw "No folder found for Git repositories (in home or root directory) - Please create one."
|
||||||
}
|
}
|
||||||
if (-not(Test-Path "$path" -pathType Container)) { throw "The path to 📂$path doesn't exist (yet)" }
|
$path = Resolve-Path $path
|
||||||
$path = Resolve-Path "$path"
|
|
||||||
Set-Location "$path"
|
Set-Location "$path"
|
||||||
"📂$path"
|
$subfolders = Get-ChildItem $path -attributes Directory
|
||||||
|
"📂$path entered (has $($subfolders.Count) subfolders)"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error: $($Error[0])"
|
"⚠️ Error: $($Error[0])"
|
||||||
@ -73,4 +71,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-repos.ps1 as of 08/15/2024 09:50:45)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-root.ps1*
|
The *cd-root.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the current working directory to the root directory (C:\ on Windows).
|
This PowerShell script changes the current working directory to the root directory (C:\ on Windows).
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-root.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-root.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -17,7 +17,7 @@ Example
|
|||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-root
|
PS> ./cd-root
|
||||||
📂C:\
|
📂C:\ entered (has 0 files and 7 folders)
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -39,7 +39,7 @@ Script Content
|
|||||||
This PowerShell script changes the current working directory to the root directory (C:\ on Windows).
|
This PowerShell script changes the current working directory to the root directory (C:\ on Windows).
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./cd-root
|
PS> ./cd-root
|
||||||
📂C:\
|
📂C:\ entered (has 0 files and 7 folders)
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -47,14 +47,16 @@ Script Content
|
|||||||
#>
|
#>
|
||||||
|
|
||||||
try {
|
try {
|
||||||
if ($IsLinux) { $Path = "/" } else { $Path = "C:\" }
|
if ($IsLinux) { $path = "/" } else { $path = "C:\" }
|
||||||
Set-Location "$Path"
|
Set-Location "$path"
|
||||||
"📂$Path"
|
$files = Get-ChildItem $path -attributes !Directory
|
||||||
|
$folders = Get-ChildItem $path -attributes Directory
|
||||||
|
"📂$path entered (has $($files.Count) files and $($folders.Count) folders)"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error: $($Error[0])"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-root.ps1 as of 08/15/2024 09:50:45)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Script: *cd-screenshots.ps1*
|
The *cd-screenshots.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
cd-screenshots.ps1
|
cd-screenshots.ps1
|
||||||
|
|
||||||
@ -24,7 +24,7 @@ Script Content
|
|||||||
This PowerShell script changes the working directory to the user's screenshots folder.
|
This PowerShell script changes the working directory to the user's screenshots folder.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./cd-screenshots
|
PS> ./cd-screenshots
|
||||||
📂C:\Users\Markus\Pictures\Screenshots
|
📂C:\Users\Markus\Pictures\Screenshots (has 7 files and 0 folders)
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -33,26 +33,28 @@ Script Content
|
|||||||
|
|
||||||
function GetScreenshotsFolder {
|
function GetScreenshotsFolder {
|
||||||
if ($IsLinux) {
|
if ($IsLinux) {
|
||||||
$Path = "$HOME/Pictures"
|
$path = "~/Pictures"
|
||||||
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)" }
|
||||||
if (Test-Path "$Path/Screenshots" -pathType container) { $Path = "$Path/Screenshots" }
|
if (Test-Path "$path/Screenshots" -pathType container) { $path = "$path/Screenshots" }
|
||||||
} else {
|
} else {
|
||||||
$Path = [Environment]::GetFolderPath('MyPictures')
|
$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)" }
|
||||||
if (Test-Path "$Path\Screenshots" -pathType container) { $Path = "$Path\Screenshots" }
|
if (Test-Path "$path\Screenshots" -pathType container) { $path = "$path\Screenshots" }
|
||||||
}
|
}
|
||||||
return $Path
|
return $path
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$Path = GetScreenshotsFolder
|
$path = GetScreenshotsFolder
|
||||||
Set-Location "$Path"
|
Set-Location "$path"
|
||||||
"📂$Path"
|
$files = Get-ChildItem $path -attributes !Directory
|
||||||
|
$folders = Get-ChildItem $path -attributes Directory
|
||||||
|
"📂$path entered (has $($files.Count) files and $($folders.Count) folders)"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error: $($Error[0])"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-screenshots.ps1 as of 08/15/2024 09:50:45)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-scripts.ps1*
|
The *cd-scripts.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the PowerShell scripts folder.
|
This PowerShell script changes the working directory to the PowerShell scripts folder.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-scripts.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-scripts.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -16,8 +16,8 @@ PS> ./cd-scripts.ps1 [<CommonParameters>]
|
|||||||
Example
|
Example
|
||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-scripts
|
PS> ./cd-scripts.ps1
|
||||||
📂C:\Users\Markus\Repos\PowerShell\scripts
|
📂C:\Repos\PowerShell\scripts entered (has 645 scripts)
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -38,8 +38,8 @@ Script Content
|
|||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
This PowerShell script changes the working directory to the PowerShell scripts folder.
|
This PowerShell script changes the working directory to the PowerShell scripts folder.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./cd-scripts
|
PS> ./cd-scripts.ps1
|
||||||
📂C:\Users\Markus\Repos\PowerShell\scripts
|
📂C:\Repos\PowerShell\scripts entered (has 645 scripts)
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -48,14 +48,17 @@ Script Content
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
$path = Resolve-Path "$PSScriptRoot"
|
$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 "No PowerShell scripts folder at 📂$path"
|
||||||
|
}
|
||||||
Set-Location "$path"
|
Set-Location "$path"
|
||||||
"📂$path"
|
$files = Get-ChildItem $path -attributes !Directory
|
||||||
|
"📂$path entered (has $($files.Count) scripts)"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error: $($Error[0])"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-scripts.ps1 as of 08/15/2024 09:50:45)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-ssh.ps1*
|
The *cd-ssh.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the user's SSH folder.
|
This PowerShell script changes the working directory to the user's secure shell (SSH) folder.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-ssh.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-ssh.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -16,8 +16,8 @@ PS> ./cd-ssh.ps1 [<CommonParameters>]
|
|||||||
Example
|
Example
|
||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-ssh
|
PS> ./cd-ssh.ps1
|
||||||
📂C:\Users\Markus\.ssh
|
📂C:\Users\Markus\.ssh entered (has 4 files)
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -34,12 +34,12 @@ Script Content
|
|||||||
```powershell
|
```powershell
|
||||||
<#
|
<#
|
||||||
.SYNOPSIS
|
.SYNOPSIS
|
||||||
Sets the working directory to the user's SSH folder
|
Sets the working directory to the SSH folder
|
||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
This PowerShell script changes the working directory to the user's SSH folder.
|
This PowerShell script changes the working directory to the user's secure shell (SSH) folder.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./cd-ssh
|
PS> ./cd-ssh.ps1
|
||||||
📂C:\Users\Markus\.ssh
|
📂C:\Users\Markus\.ssh entered (has 4 files)
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -47,15 +47,19 @@ Script Content
|
|||||||
#>
|
#>
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$Path = Resolve-Path "~/.ssh"
|
$path = "~/.ssh"
|
||||||
if (-not(Test-Path "$Path" -pathType container)) { throw "User's SSH folder at 📂$Path doesn't exist (yet)" }
|
if (-not(Test-Path "$path" -pathType container)) {
|
||||||
Set-Location "$Path"
|
throw "No secure shell (SSH) folder at $path"
|
||||||
"📂$Path"
|
}
|
||||||
|
$path = Resolve-Path "$path"
|
||||||
|
Set-Location "$path"
|
||||||
|
$files = Get-ChildItem $path -attributes !Directory
|
||||||
|
"📂$path entered (has $($files.Count) files)"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error: $($Error[0])"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-ssh.ps1 as of 08/15/2024 09:50:45)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Script: *cd-temp.ps1*
|
The *cd-temp.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
cd-temp.ps1
|
cd-temp.ps1
|
||||||
|
|
||||||
@ -24,7 +24,7 @@ Script Content
|
|||||||
This PowerShell script changes the working directory to the temporary folder.
|
This PowerShell script changes the working directory to the temporary folder.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./cd-temp
|
PS> ./cd-temp
|
||||||
📂C:\Users\Markus\AppData\Local\Temp
|
📂C:\Users\Markus\AppData\Local\Temp (has 2 files and 3 subfolders)
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -39,15 +39,19 @@ function GetTempDir {
|
|||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$Path = GetTempDir
|
$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
|
||||||
Set-Location "$Path"
|
"No temporary folder at $path"
|
||||||
"📂$Path"
|
}
|
||||||
|
Set-Location "$path"
|
||||||
|
$files = Get-ChildItem $path -attributes !Directory
|
||||||
|
$folders = Get-ChildItem $path -attributes Directory
|
||||||
|
"📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error: $($Error[0])"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-temp.ps1 as of 08/15/2024 09:50:45)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-templates.ps1*
|
The *cd-templates.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the templates folder.
|
This PowerShell script changes the working directory to the templates folder.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-templates.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-templates.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -17,7 +17,7 @@ Example
|
|||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-templates
|
PS> ./cd-templates
|
||||||
📂/home/Markus/Templates
|
📂/home/Markus/Templates entered (has 3 files and 0 subfolders)
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -39,7 +39,7 @@ Script Content
|
|||||||
This PowerShell script changes the working directory to the templates folder.
|
This PowerShell script changes the working directory to the templates folder.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./cd-templates
|
PS> ./cd-templates
|
||||||
📂/home/Markus/Templates
|
📂/home/Markus/Templates entered (has 3 files and 0 subfolders)
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -48,18 +48,22 @@ Script Content
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
if ($IsLinux) {
|
if ($IsLinux) {
|
||||||
$Path = Resolve-Path "~/Templates"
|
$path = Resolve-Path "~/Templates"
|
||||||
} else {
|
} else {
|
||||||
$Path = [Environment]::GetFolderPath('Templates')
|
$path = [Environment]::GetFolderPath('Templates')
|
||||||
}
|
}
|
||||||
if (-not(Test-Path "$Path" -pathType container)) { throw "Templates folder at 📂$Path doesn't exist (yet)" }
|
if (-not(Test-Path "$path" -pathType container)) {
|
||||||
Set-Location "$Path"
|
throw "No templates folder at $path"
|
||||||
"📂$Path"
|
}
|
||||||
|
Set-Location "$path"
|
||||||
|
$files = Get-ChildItem $path -attributes !Directory
|
||||||
|
$folders = Get-ChildItem $path -attributes Directory
|
||||||
|
"📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error: $($Error[0])"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-templates.ps1 as of 08/15/2024 09:50:45)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Script: *cd-trash.ps1*
|
The *cd-trash.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
cd-trash.ps1
|
cd-trash.ps1
|
||||||
|
|
||||||
@ -24,7 +24,7 @@ Script Content
|
|||||||
This PowerShell script changes the working directory to the user's trash folder.
|
This PowerShell script changes the working directory to the user's trash folder.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./cd-trash
|
PS> ./cd-trash
|
||||||
📂C:\$Recycle.Bin\S-1-5-21-123404-23309-294260-1001
|
📂C:\$Recycle.Bin\S-1-5-21-123404-23309-294260-1001 entered (has 4 files and 0 subfolders)
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -39,18 +39,22 @@ function GetCurrentUserSID { [CmdletBinding()] param()
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
if ($IsLinux) {
|
if ($IsLinux) {
|
||||||
$path = "$HOME/.local/share/Trash/"
|
$path = "~/.local/share/Trash/"
|
||||||
} else {
|
} else {
|
||||||
$path = "C:\`$Recycle.Bin\$(GetCurrentUserSID)"
|
$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 "No trash folder at $path"
|
||||||
|
}
|
||||||
Set-Location "$path"
|
Set-Location "$path"
|
||||||
"📂$path"
|
$files = Get-ChildItem $path -attributes !Directory
|
||||||
|
$folders = Get-ChildItem $path -attributes Directory
|
||||||
|
"📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error: $($Error[0])"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-trash.ps1 as of 08/15/2024 09:50:45)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-up.ps1*
|
The *cd-up.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to one directory level up.
|
This PowerShell script changes the working directory to one directory level up.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-up.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-up.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -47,10 +47,10 @@ Script Content
|
|||||||
#>
|
#>
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$Path = Resolve-Path ".."
|
$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"
|
Set-Location "$path"
|
||||||
"📂$Path"
|
"📂$path"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
@ -58,4 +58,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-up.ps1 as of 08/15/2024 09:50:45)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-up2.ps1*
|
The *cd-up2.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to two directory level up.
|
This PowerShell script changes the working directory to two directory level up.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-up2.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-up2.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -47,10 +47,10 @@ Script Content
|
|||||||
#>
|
#>
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$Path = Resolve-Path "../.."
|
$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"
|
Set-Location "$path"
|
||||||
"📂$Path"
|
"📂$path"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
@ -58,4 +58,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-up2.ps1 as of 08/15/2024 09:50:45)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-up3.ps1*
|
The *cd-up3.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to three directory levels up.
|
This PowerShell script changes the working directory to three directory levels up.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-up3.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-up3.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -47,10 +47,10 @@ Script Content
|
|||||||
#>
|
#>
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$Path = Resolve-Path "../../.."
|
$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"
|
Set-Location "$path"
|
||||||
"📂$Path"
|
"📂$path"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
@ -58,4 +58,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-up3.ps1 as of 08/15/2024 09:50:45)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-up4.ps1*
|
The *cd-up4.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to four directory levels up.
|
This PowerShell script changes the working directory to four directory levels up.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-up4.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-up4.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -47,10 +47,10 @@ Script Content
|
|||||||
#>
|
#>
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$Path = Resolve-Path "../../../.."
|
$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"
|
Set-Location "$path"
|
||||||
"📂$Path"
|
"📂$path"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
@ -58,4 +58,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-up4.ps1 as of 08/15/2024 09:50:45)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-users.ps1*
|
The *cd-users.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the users directory.
|
This PowerShell script changes the working directory to the users directory.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-users.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-users.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -17,7 +17,7 @@ Example
|
|||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-users
|
PS> ./cd-users
|
||||||
📂C:\Users
|
📂C:\Users entered (has 0 files and 4 subfolders)
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -39,7 +39,7 @@ Script Content
|
|||||||
This PowerShell script changes the working directory to the users directory.
|
This PowerShell script changes the working directory to the users directory.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./cd-users
|
PS> ./cd-users
|
||||||
📂C:\Users
|
📂C:\Users entered (has 0 files and 4 subfolders)
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -47,15 +47,19 @@ Script Content
|
|||||||
#>
|
#>
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$Path = Resolve-Path "$HOME/.."
|
$path = Resolve-Path "~/.."
|
||||||
if (-not(Test-Path "$Path" -pathType container)) { throw "Users directory at 📂$Path doesn't exist (yet)" }
|
if (-not(Test-Path "$path" -pathType container)) {
|
||||||
Set-Location "$Path"
|
throw "No users directory at $path"
|
||||||
"📂$Path"
|
}
|
||||||
|
Set-Location "$path"
|
||||||
|
$files = Get-ChildItem $path -attributes !Directory
|
||||||
|
$folders = Get-ChildItem $path -attributes Directory
|
||||||
|
"📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error: $($Error[0])"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-users.ps1 as of 08/15/2024 09:50:45)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-videos.ps1*
|
The *cd-videos.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the user's videos folder.
|
This PowerShell script changes the working directory to the user's videos folder.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-videos.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-videos.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -17,7 +17,7 @@ Example
|
|||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-videos
|
PS> ./cd-videos
|
||||||
📂C:\Users\Markus\Videos
|
📂C:\Users\Markus\Videos entered (has 3 files and 0 subfolders)
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -39,7 +39,7 @@ Script Content
|
|||||||
This PowerShell script changes the working directory to the user's videos folder.
|
This PowerShell script changes the working directory to the user's videos folder.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./cd-videos
|
PS> ./cd-videos
|
||||||
📂C:\Users\Markus\Videos
|
📂C:\Users\Markus\Videos entered (has 3 files and 0 subfolders)
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -48,18 +48,22 @@ Script Content
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
if ($IsLinux) {
|
if ($IsLinux) {
|
||||||
$Path = Resolve-Path "$HOME/Videos"
|
$path = Resolve-Path "~/Videos"
|
||||||
} else {
|
} else {
|
||||||
$Path = [Environment]::GetFolderPath('MyVideos')
|
$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)) {
|
||||||
Set-Location "$Path"
|
throw "No videos folder at $path"
|
||||||
"📂$Path"
|
}
|
||||||
|
Set-Location "$path"
|
||||||
|
$files = Get-ChildItem $path -attributes !Directory
|
||||||
|
$folders = Get-ChildItem $path -attributes Directory
|
||||||
|
"📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error: $($Error[0])"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-videos.ps1 as of 08/15/2024 09:50:45)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *cd-windows.ps1*
|
The *cd-windows.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script changes the working directory to the Windows directory.
|
This PowerShell script changes the working directory to the Windows directory.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-windows.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/cd-windows.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -17,7 +17,7 @@ Example
|
|||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./cd-windows
|
PS> ./cd-windows
|
||||||
📂C:\Windows
|
📂C:\Windows entered (has 7 files and 42 subfolders)
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -39,7 +39,7 @@ Script Content
|
|||||||
This PowerShell script changes the working directory to the Windows directory.
|
This PowerShell script changes the working directory to the Windows directory.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./cd-windows
|
PS> ./cd-windows
|
||||||
📂C:\Windows
|
📂C:\Windows entered (has 7 files and 42 subfolders)
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -47,15 +47,19 @@ Script Content
|
|||||||
#>
|
#>
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$Path = Resolve-Path "$env:WINDIR"
|
$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)) {
|
||||||
Set-Location "$Path"
|
throw "No Windows directory at $path"
|
||||||
"📂$Path"
|
}
|
||||||
|
Set-Location "$path"
|
||||||
|
$files = Get-ChildItem $path -attributes !Directory
|
||||||
|
$folders = Get-ChildItem $path -attributes Directory
|
||||||
|
"📂$path entered (has $($files.Count) files and $($folders.Count) subfolders)"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error: $($Error[0])"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-windows.ps1 as of 08/15/2024 09:50:45)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *change-wallpaper.ps1*
|
The *change-wallpaper.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script downloads a random photo from Unsplash and sets it as desktop background.
|
This PowerShell script downloads a random photo from Unsplash and sets it as desktop background.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./change-wallpaper.ps1 [[-Category] <String>] [<CommonParameters>]
|
/Repos/PowerShell/scripts/change-wallpaper.ps1 [[-Category] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-Category <String>
|
-Category <String>
|
||||||
Specifies the photo category (beach, city, ...)
|
Specifies the photo category (beach, city, ...)
|
||||||
@ -15,6 +15,7 @@ PS> ./change-wallpaper.ps1 [[-Category] <String>] [<CommonParameters>]
|
|||||||
Position? 1
|
Position? 1
|
||||||
Default value
|
Default value
|
||||||
Accept pipeline input? false
|
Accept pipeline input? false
|
||||||
|
Aliases
|
||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
@ -69,7 +70,7 @@ try {
|
|||||||
|
|
||||||
$Path = "$(GetTempDir)/next_wallpaper.jpg"
|
$Path = "$(GetTempDir)/next_wallpaper.jpg"
|
||||||
& wget -O $Path "https://source.unsplash.com/3840x2160?$Category"
|
& wget -O $Path "https://source.unsplash.com/3840x2160?$Category"
|
||||||
if ($lastExitCode -ne "0") { throw "Download failed" }
|
if ($lastExitCode -ne 0) { throw "Download failed" }
|
||||||
|
|
||||||
& "$PSScriptRoot/set-wallpaper.ps1" -ImageFile "$Path"
|
& "$PSScriptRoot/set-wallpaper.ps1" -ImageFile "$Path"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
@ -79,4 +80,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of change-wallpaper.ps1 as of 08/15/2024 09:50:45)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
@ -67,6 +67,8 @@ Operators
|
|||||||
$a = 2 # Basic variable assignment operator
|
$a = 2 # Basic variable assignment operator
|
||||||
$a += 1 # Incremental assignment operator
|
$a += 1 # Incremental assignment operator
|
||||||
$a -= 1 # Decrement assignment operator
|
$a -= 1 # Decrement assignment operator
|
||||||
|
$a++ # Incremental assignment operator
|
||||||
|
$a-- # Decrement assignment operator
|
||||||
|
|
||||||
$a -eq 0 # Equality comparison operator
|
$a -eq 0 # Equality comparison operator
|
||||||
$a -ne 5 # Not-equal comparison operator
|
$a -ne 5 # Not-equal comparison operator
|
||||||
@ -326,3 +328,12 @@ $Params = @{
|
|||||||
}
|
}
|
||||||
Invoke-RestMethod @Params # Call a REST API, using the HTTP GET method
|
Invoke-RestMethod @Params # Call a REST API, using the HTTP GET method
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Useful Links
|
||||||
|
------------
|
||||||
|
* PowerShell documentation: https://docs.microsoft.com/en-us/powershell
|
||||||
|
* Tutorial: https://www.guru99.com/powershell-tutorial.html
|
||||||
|
* Video tutorials: https://www.youtube.com/results?search_query=PowerShell
|
||||||
|
* FAQ's: https://github.com/fleschutz/PowerShell/blob/main/docs/FAQ.md
|
||||||
|
* 500+ sample scripts: https://github.com/fleschutz/PowerShell
|
||||||
|
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-admin.ps1*
|
The *check-admin.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script checks if the user has administrator rights.
|
This PowerShell script checks if the user has administrator rights.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-admin.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-admin.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -67,4 +67,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-admin.ps1 as of 08/15/2024 09:50:45)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Script: *check-apps.ps1*
|
The *check-apps.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
check-apps.ps1
|
check-apps.ps1
|
||||||
|
|
||||||
@ -24,50 +24,47 @@ Script Content
|
|||||||
This PowerShell script queries the installed applications and prints it.
|
This PowerShell script queries the installed applications and prints it.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./check-apps.ps1
|
PS> ./check-apps.ps1
|
||||||
✅ 119 Windows apps installed, 11 upgrades available
|
⚠️ 150 Win apps installed, 72 upgrades available, 5 crash dump(s) found
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
Author: Markus Fleschutz | License: CC0
|
Author: Markus Fleschutz | License: CC0
|
||||||
#>
|
#>
|
||||||
|
|
||||||
function GetCrashDumps {
|
function CountCrashDumps {
|
||||||
[string]$path = Resolve-Path -Path "~\AppData\Local\CrashDumps"
|
[string]$path = Resolve-Path -Path "~\AppData\Local\CrashDumps"
|
||||||
$count = 0
|
|
||||||
$files = (Get-ChildItem -path "$path\*.dmp" -attributes !Directory)
|
$files = (Get-ChildItem -path "$path\*.dmp" -attributes !Directory)
|
||||||
foreach($file in $files) { $count++ }
|
return $files.Count
|
||||||
return $count
|
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$statusIcon = "✅"
|
$status = "✅"
|
||||||
$statusMsg = ""
|
|
||||||
if ($IsLinux) {
|
if ($IsLinux) {
|
||||||
Write-Progress "Querying installed applications..."
|
Write-Progress "Querying installed applications..."
|
||||||
$numPkgs = (apt list --installed 2>/dev/null).Count
|
$numPkgs = (apt list --installed 2>/dev/null).Count
|
||||||
$numSnaps = (snap list).Count - 1
|
$numSnaps = (snap list).Count - 1
|
||||||
Write-Progress -completed "Done."
|
Write-Progress -completed "Done."
|
||||||
$statusMsg += "$numPkgs Debian packages, $numSnaps snaps installed"
|
$reply = "$numPkgs Debian packages, $numSnaps snaps installed"
|
||||||
} else {
|
} else {
|
||||||
Write-Progress "Querying installed apps..."
|
Write-Progress "Querying installed apps..."
|
||||||
$Apps = Get-AppxPackage
|
$apps = Get-AppxPackage
|
||||||
Write-Progress -completed "Done."
|
Write-Progress -completed "Done."
|
||||||
$statusMsg = "$($Apps.Count) Win apps installed"
|
$reply = "$($apps.Count) Win apps installed"
|
||||||
|
|
||||||
[int]$numNonOk = 0
|
[int]$numNonOk = 0
|
||||||
foreach($App in $Apps) { if ($App.Status -ne "Ok") { $numNonOk++ } }
|
foreach($app in $apps) { if ($app.Status -ne "Ok") { $numNonOk++ } }
|
||||||
if ($numNonOk -gt 0) { $statusIcon = "⚠️"; $statusMsg += ", $numNonOk non-ok" }
|
if ($numNonOk -gt 0) { $status = "⚠️"; $reply += ", $numNonOk non-ok" }
|
||||||
|
|
||||||
[int]$numErrors = (Get-AppxLastError)
|
[int]$numErrors = (Get-AppxLastError)
|
||||||
if ($numErrors -gt 0) { $statusIcon = "⚠️"; $statusMsg += ", $numErrors errors" }
|
if ($numErrors -gt 0) { $status = "⚠️"; $reply += ", $numErrors errors" }
|
||||||
|
|
||||||
$numUpdates = (winget upgrade --include-unknown).Count - 5
|
$numUpdates = (winget upgrade --include-unknown).Count - 5
|
||||||
$statusMsg += ", $numUpdates upgrades available"
|
$reply += ", $numUpdates upgrades available"
|
||||||
|
|
||||||
$crashDumps = GetCrashDumps
|
$numCrashDumps = CountCrashDumps
|
||||||
if ($crashDumps -ne 0) { $statusIcon = "⚠️"; $statusMsg += " - found $crashDumps crash dump(s)" }
|
if ($numCrashDumps -ne 0) { $status = "⚠️"; $reply += ", $numCrashDumps crash dump(s) found" }
|
||||||
}
|
}
|
||||||
Write-Host "$statusIcon $statusMsg"
|
Write-Host "$status $reply"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
@ -75,4 +72,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-apps.ps1 as of 08/15/2024 09:50:45)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-bios.ps1*
|
The *check-bios.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script queries the BIOS status and prints it.
|
This PowerShell script queries the BIOS status and prints it.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-bios.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-bios.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -17,7 +17,7 @@ Example
|
|||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-bios.ps1
|
PS> ./check-bios.ps1
|
||||||
✅ BIOS model P62 v02.67 by HP (version HPQOEM - 5, S/N CZC1080B01)
|
✅ BIOS model P62 v02.67, version HPQOEM - 5, S/N CZC1080B01 by HP
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -39,7 +39,7 @@ Script Content
|
|||||||
This PowerShell script queries the BIOS status and prints it.
|
This PowerShell script queries the BIOS status and prints it.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./check-bios.ps1
|
PS> ./check-bios.ps1
|
||||||
✅ BIOS model P62 v02.67 by HP (version HPQOEM - 5, S/N CZC1080B01)
|
✅ BIOS model P62 v02.67, version HPQOEM - 5, S/N CZC1080B01 by HP
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -48,27 +48,26 @@ Script Content
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
if ($IsLinux) {
|
if ($IsLinux) {
|
||||||
Write-Progress "Querying BIOS details..."
|
|
||||||
$model = (sudo dmidecode -s system-product-name)
|
$model = (sudo dmidecode -s system-product-name)
|
||||||
if ("$model" -ne "") {
|
if ("$model" -eq "") { exit 0 } # no information
|
||||||
$version = (sudo dmidecode -s bios-version)
|
Write-Progress "Querying BIOS details..."
|
||||||
$releaseDate = (sudo dmidecode -s bios-release-date)
|
$version = (sudo dmidecode -s bios-version)
|
||||||
$manufacturer = (sudo dmidecode -s system-manufacturer)
|
$releaseDate = (sudo dmidecode -s bios-release-date)
|
||||||
Write-Host "✅ BIOS model $model by $manufacturer (version $version of $releaseDate)"
|
$manufacturer = (sudo dmidecode -s system-manufacturer)
|
||||||
}
|
Write-Progress -completed "Done."
|
||||||
Write-Progress -completed "."
|
|
||||||
} else {
|
} else {
|
||||||
$BIOS = Get-CimInstance -ClassName Win32_BIOS
|
$details = Get-CimInstance -ClassName Win32_BIOS
|
||||||
$model = $BIOS.Name.Trim()
|
$model = $details.Name.Trim()
|
||||||
$version = $BIOS.Version.Trim()
|
$version = $details.Version.Trim()
|
||||||
$serialNumber = $BIOS.SerialNumber.Trim()
|
$serial = $details.SerialNumber.Trim()
|
||||||
$manufacturer = $BIOS.Manufacturer.Trim()
|
$manufacturer = $details.Manufacturer.Trim()
|
||||||
if ($serialNumber -eq "To be filled by O.E.M.") {
|
|
||||||
Write-Host "✅ BIOS model $model by $manufacturer (version $version)"
|
|
||||||
} else {
|
|
||||||
Write-Host "✅ BIOS model $model by $manufacturer (version $version, S/N $serialNumber)"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
if ($model -eq "To be filled by O.E.M.") { $model = "N/A" }
|
||||||
|
if ($version -eq "To be filled by O.E.M.") { $version = "N/A" }
|
||||||
|
if ("$releaseDate" -ne "") { $releaseDate = " of $releaseDate" }
|
||||||
|
if ("$serial" -eq "") { $serial = "N/A" }
|
||||||
|
if ($serial -eq "To be filled by O.E.M.") { $serial = "N/A" }
|
||||||
|
Write-Host "✅ BIOS model $model, version $($version)$($releaseDate), S/N $serial by $manufacturer"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
@ -76,4 +75,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-bios.ps1 as of 08/15/2024 09:50:45)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Script: *check-cpu.ps1*
|
The *check-cpu.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
check-cpu.ps1
|
check-cpu.ps1
|
||||||
|
|
||||||
@ -74,26 +74,29 @@ try {
|
|||||||
$details = Get-WmiObject -Class Win32_Processor
|
$details = Get-WmiObject -Class Win32_Processor
|
||||||
$cpuName = $details.Name.trim()
|
$cpuName = $details.Name.trim()
|
||||||
$arch = "$arch, "
|
$arch = "$arch, "
|
||||||
$deviceID = "$($details.DeviceID), "
|
$deviceID = ", $($details.DeviceID)"
|
||||||
$speed = "$($details.MaxClockSpeed)MHz, "
|
$speed = ", $($details.MaxClockSpeed)MHz"
|
||||||
$socket = "$($details.SocketDesignation) socket"
|
$socket = ", $($details.SocketDesignation) socket"
|
||||||
}
|
}
|
||||||
$cores = [System.Environment]::ProcessorCount
|
$cores = [System.Environment]::ProcessorCount
|
||||||
$celsius = GetCPUTemperature
|
$celsius = GetCPUTemperature
|
||||||
if ($celsius -eq 99999.9) {
|
if ($celsius -eq 99999.9) {
|
||||||
$temp = "no temp"
|
$temp = ""
|
||||||
|
} elseif ($celsius -gt 80) {
|
||||||
|
$temp = ", $($celsius)°C TOO HOT"
|
||||||
|
$status = "⚠️"
|
||||||
} elseif ($celsius -gt 50) {
|
} elseif ($celsius -gt 50) {
|
||||||
$temp = "$($celsius)°C HOT"
|
$temp = ", $($celsius)°C HOT"
|
||||||
$status = "⚠️"
|
$status = "⚠️"
|
||||||
} elseif ($celsius -lt 0) {
|
} elseif ($celsius -lt 0) {
|
||||||
$temp = "$($celsius)°C COLD"
|
$temp = ", $($celsius)°C TOO COLD"
|
||||||
$status = "⚠️"
|
$status = "⚠️"
|
||||||
} else {
|
} else {
|
||||||
$temp = "$($celsius)°C OK"
|
$temp = ", $($celsius)°C"
|
||||||
}
|
}
|
||||||
|
|
||||||
Write-Progress -completed "Done."
|
Write-Progress -completed "Done."
|
||||||
Write-Host "$status $cpuName ($($arch)$cores cores, $($deviceID)$($speed)$($socket)) - $temp"
|
Write-Host "$status $cpuName ($($arch)$cores cores$($temp)$($deviceID)$($speed)$($socket))"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
@ -101,4 +104,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-cpu.ps1 as of 08/15/2024 09:50:45)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-credentials.ps1*
|
The *check-credentials.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script asks for credentials and checks them against saved ones ("$HOME\my.credentials" by default).
|
This PowerShell script asks for credentials and checks them against saved ones ("$HOME\my.credentials" by default).
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-credentials.ps1 [[-TargetFile] <String>] [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-credentials.ps1 [[-TargetFile] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-TargetFile <String>
|
-TargetFile <String>
|
||||||
Specifies the target file ("$HOME\my.credentials" by default)
|
Specifies the target file ("$HOME\my.credentials" by default)
|
||||||
@ -15,6 +15,7 @@ PS> ./check-credentials.ps1 [[-TargetFile] <String>] [<CommonParameters>]
|
|||||||
Position? 1
|
Position? 1
|
||||||
Default value "$HOME\my.credentials"
|
Default value "$HOME\my.credentials"
|
||||||
Accept pipeline input? false
|
Accept pipeline input? false
|
||||||
|
Aliases
|
||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
@ -27,7 +28,7 @@ Example
|
|||||||
```powershell
|
```powershell
|
||||||
PS> ./check-credentials.ps1
|
PS> ./check-credentials.ps1
|
||||||
Enter username and password, please.
|
Enter username and password, please.
|
||||||
✔️ Your credentials are correct.
|
✅ Your credentials are correct.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -52,7 +53,7 @@ Script Content
|
|||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./check-credentials.ps1
|
PS> ./check-credentials.ps1
|
||||||
Enter username and password, please.
|
Enter username and password, please.
|
||||||
✔️ Your credentials are correct.
|
✅ Your credentials are correct.
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -74,7 +75,7 @@ try {
|
|||||||
$pw2 = [Runtime.InteropServices.Marshal]::PtrToStringAuto([Runtime.InteropServices.Marshal]::SecureStringToBSTR($credsFromFile.Password))
|
$pw2 = [Runtime.InteropServices.Marshal]::PtrToStringAuto([Runtime.InteropServices.Marshal]::SecureStringToBSTR($credsFromFile.Password))
|
||||||
if ($pw1 -cne $pw2) { throw "Sorry, your password is wrong." }
|
if ($pw1 -cne $pw2) { throw "Sorry, your password is wrong." }
|
||||||
|
|
||||||
"✔️ Your credentials are correct."
|
"✅ Your credentials are correct."
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
@ -82,4 +83,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-credentials.ps1 as of 08/15/2024 09:50:45)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-day.ps1*
|
The *check-day.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script determines and speaks the current day by text-to-speech (TTS).
|
This PowerShell script determines and speaks the current day by text-to-speech (TTS).
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-day.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-day.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -17,7 +17,7 @@ Example
|
|||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-day
|
PS> ./check-day
|
||||||
✔️ It's Sunday.
|
✅ It's Sunday.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -39,7 +39,7 @@ Script Content
|
|||||||
This PowerShell script determines and speaks the current day by text-to-speech (TTS).
|
This PowerShell script determines and speaks the current day by text-to-speech (TTS).
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./check-day
|
PS> ./check-day
|
||||||
✔️ It's Sunday.
|
✅ It's Sunday.
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -57,4 +57,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-day.ps1 as of 08/15/2024 09:50:45)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-dns.ps1*
|
The *check-dns.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script measures the DNS resolution speed (using 100 popular domains) and prints it.
|
This PowerShell script measures the DNS resolution speed using 100 internet domains and prints it.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-dns.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-dns.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -17,7 +17,7 @@ Example
|
|||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-dns.ps1
|
PS> ./check-dns.ps1
|
||||||
✅ DNS resolves 56.5 domains per second
|
✅ Internet DNS: 33.6ms lookup time
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -36,10 +36,10 @@ Script Content
|
|||||||
.SYNOPSIS
|
.SYNOPSIS
|
||||||
Check the DNS resolution
|
Check the DNS resolution
|
||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
This PowerShell script measures the DNS resolution speed (using 100 popular domains) and prints it.
|
This PowerShell script measures the DNS resolution speed using 100 internet domains and prints it.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./check-dns.ps1
|
PS> ./check-dns.ps1
|
||||||
✅ DNS resolves 56.5 domains per second
|
✅ Internet DNS: 33.6ms lookup time
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -47,24 +47,23 @@ Script Content
|
|||||||
#>
|
#>
|
||||||
|
|
||||||
try {
|
try {
|
||||||
#Write-Progress "Measuring DNS resolution..."
|
|
||||||
$table = Import-CSV "$PSScriptRoot/../data/popular-domains.csv"
|
$table = Import-CSV "$PSScriptRoot/../data/popular-domains.csv"
|
||||||
$numRows = $table.Length
|
|
||||||
|
|
||||||
$stopWatch = [system.diagnostics.stopwatch]::startNew()
|
$stopWatch = [system.diagnostics.stopwatch]::startNew()
|
||||||
if ($IsLinux) {
|
if ($IsLinux) {
|
||||||
foreach($row in $table){$nop=dig $row.Domain +short}
|
foreach($row in $table){$nop=dig $row.Domain +short}
|
||||||
} else {
|
} else {
|
||||||
|
Clear-DnsClientCache
|
||||||
foreach($row in $table){$nop=Resolve-DNSName $row.Domain}
|
foreach($row in $table){$nop=Resolve-DNSName $row.Domain}
|
||||||
}
|
}
|
||||||
[float]$elapsed = $stopWatch.Elapsed.TotalSeconds
|
[float]$elapsed = $stopWatch.Elapsed.TotalSeconds * 1000.0
|
||||||
|
$speed = [math]::round($elapsed / $table.Length, 1)
|
||||||
#Write-Progress -completed "Measuring DNS resolution..."
|
if ($speed -lt 10.0) {
|
||||||
$average = [math]::round($numRows / $elapsed, 1)
|
Write-Output "✅ Internet DNS: $($speed)ms excellent lookup time"
|
||||||
if ($average -lt 10.0) {
|
} elseif ($speed -lt 100.0) {
|
||||||
Write-Host "⚠️ DNS resolves $average domains per second only"
|
Write-Output "✅ Internet DNS: $($speed)ms lookup time"
|
||||||
} else {
|
} else {
|
||||||
Write-Host "✅ DNS resolves $average domains per second"
|
Write-Output "⚠️ Internet DNS: $($speed)ms slow lookup time"
|
||||||
}
|
}
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
@ -73,4 +72,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-dns.ps1 as of 08/15/2024 09:50:45)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-drive-space.ps1*
|
The *check-drive-space.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script checks the given drive for free space left (10 GB by default).
|
This PowerShell script checks the given drive for free space left (10 GB by default).
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-drive-space.ps1 [[-driveName] <String>] [[-minLevel] <Int64>] [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-drive-space.ps1 [[-driveName] <String>] [[-minLevel] <Int64>] [<CommonParameters>]
|
||||||
|
|
||||||
-driveName <String>
|
-driveName <String>
|
||||||
Specifies the drive name to check (e.g. "C")
|
Specifies the drive name to check (e.g. "C")
|
||||||
@ -15,6 +15,7 @@ PS> ./check-drive-space.ps1 [[-driveName] <String>] [[-minLevel] <Int64>] [<Comm
|
|||||||
Position? 1
|
Position? 1
|
||||||
Default value
|
Default value
|
||||||
Accept pipeline input? false
|
Accept pipeline input? false
|
||||||
|
Aliases
|
||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
-minLevel <Int64>
|
-minLevel <Int64>
|
||||||
@ -24,6 +25,7 @@ PS> ./check-drive-space.ps1 [[-driveName] <String>] [[-minLevel] <Int64>] [<Comm
|
|||||||
Position? 2
|
Position? 2
|
||||||
Default value 10000000
|
Default value 10000000
|
||||||
Accept pipeline input? false
|
Accept pipeline input? false
|
||||||
|
Aliases
|
||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
@ -110,4 +112,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-drive-space.ps1 as of 08/15/2024 09:50:45)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
@ -1,20 +1,21 @@
|
|||||||
Script: *check-drives.ps1*
|
The *check-drives.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script queries the free space of all drives and prints it.
|
This PowerShell script queries the free space of all drives and prints it.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-drives.ps1 [[-minLevel] <Int64>] [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-drives.ps1 [[-minLevel] <Int64>] [<CommonParameters>]
|
||||||
|
|
||||||
-minLevel <Int64>
|
-minLevel <Int64>
|
||||||
Specifies the minimum warning level (10GB by default)
|
Specifies the minimum warning level (5GB by default)
|
||||||
|
|
||||||
Required? false
|
Required? false
|
||||||
Position? 1
|
Position? 1
|
||||||
Default value 10
|
Default value 5368709120
|
||||||
Accept pipeline input? false
|
Accept pipeline input? false
|
||||||
|
Aliases
|
||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
@ -26,8 +27,7 @@ Example
|
|||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-drives.ps1
|
PS> ./check-drives.ps1
|
||||||
✅ Drive C: uses 49% of 1TB - 512GB free
|
✅ Drive C: uses 489GB (53%) of 930GB, D: uses 3TB (87%) of 4TB, E: is empty
|
||||||
✅ Drive D: uses 84% of 4TB - 641GB free
|
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -48,51 +48,54 @@ Script Content
|
|||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
This PowerShell script queries the free space of all drives and prints it.
|
This PowerShell script queries the free space of all drives and prints it.
|
||||||
.PARAMETER minLevel
|
.PARAMETER minLevel
|
||||||
Specifies the minimum warning level (10GB by default)
|
Specifies the minimum warning level (5GB by default)
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./check-drives.ps1
|
PS> ./check-drives.ps1
|
||||||
✅ Drive C: uses 49% of 1TB - 512GB free
|
✅ Drive C: uses 489GB (53%) of 930GB, D: uses 3TB (87%) of 4TB, E: is empty
|
||||||
✅ Drive D: uses 84% of 4TB - 641GB free
|
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
Author: Markus Fleschutz | License: CC0
|
Author: Markus Fleschutz | License: CC0
|
||||||
#>
|
#>
|
||||||
|
|
||||||
param([int64]$minLevel = 10) # 10 GB minimum
|
param([int64]$minLevel = 5GB)
|
||||||
|
|
||||||
function Bytes2String { param([int64]$number)
|
function Bytes2String { param([int64]$bytes)
|
||||||
if ($number -lt 1KB) { return "$number bytes" }
|
if ($bytes -lt 1KB) { return "$bytes bytes" }
|
||||||
if ($number -lt 1MB) { return '{0:N0}KB' -f ($number / 1KB) }
|
if ($bytes -lt 1MB) { return '{0:N0}KB' -f ($bytes / 1KB) }
|
||||||
if ($number -lt 1GB) { return '{0:N0}MB' -f ($number / 1MB) }
|
if ($bytes -lt 1GB) { return '{0:N0}MB' -f ($bytes / 1MB) }
|
||||||
if ($number -lt 1TB) { return '{0:N0}GB' -f ($number / 1GB) }
|
if ($bytes -lt 1TB) { return '{0:N0}GB' -f ($bytes / 1GB) }
|
||||||
if ($number -lt 1PB) { return '{0:N0}TB' -f ($number / 1TB) }
|
if ($bytes -lt 1PB) { return '{0:N0}TB' -f ($bytes / 1TB) }
|
||||||
return '{0:N0}GB' -f ($number / 1PB)
|
return '{0:N0}GB' -f ($bytes / 1PB)
|
||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
Write-Progress "Querying drives..."
|
Write-Progress "Querying drives..."
|
||||||
$drives = Get-PSDrive -PSProvider FileSystem
|
$drives = Get-PSDrive -PSProvider FileSystem
|
||||||
$minLevel *= 1GB
|
Write-Progress -completed "Done."
|
||||||
Write-Progress -completed " "
|
$status = "✅"
|
||||||
|
$reply = "Drive "
|
||||||
foreach($drive in $drives) {
|
foreach($drive in $drives) {
|
||||||
$details = (Get-PSDrive $drive.Name)
|
$details = (Get-PSDrive $drive.Name)
|
||||||
if ($IsLinux) { $name = $drive.Name } else { $name = $drive.Name + ":" }
|
if ($IsLinux) { $name = $drive.Name } else { $name = $drive.Name + ":" }
|
||||||
[int64]$free = $details.Free
|
[int64]$free = $details.Free
|
||||||
[int64]$used = $details.Used
|
[int64]$used = $details.Used
|
||||||
[int64]$total = ($used + $free)
|
[int64]$total = ($used + $free)
|
||||||
|
if ($reply -ne "Drive ") { $reply += ", " }
|
||||||
if ($total -eq 0) {
|
if ($total -eq 0) {
|
||||||
Write-Host "✅ Drive $name is empty"
|
$reply += "$name is empty"
|
||||||
} elseif ($free -eq 0) {
|
} elseif ($free -eq 0) {
|
||||||
Write-Host "⚠️ Drive $name with $(Bytes2String $total) is full"
|
$status = "⚠️"
|
||||||
|
$reply += "$name with ($(Bytes2String $total)) is FULL"
|
||||||
} elseif ($free -lt $minLevel) {
|
} elseif ($free -lt $minLevel) {
|
||||||
Write-Host "⚠️ Drive $name with $(Bytes2String $total) is nearly full, $(Bytes2String $free) free"
|
$status = "⚠️"
|
||||||
|
$reply += "$name nearly full ($(Bytes2String $free) of $(Bytes2String $total) left)"
|
||||||
} else {
|
} else {
|
||||||
[int64]$percent = ($used * 100) / $total
|
[int64]$percent = ($used * 100) / $total
|
||||||
Write-Host "✅ Drive $name uses $percent% of $(Bytes2String $total) - $(Bytes2String $free) free"
|
$reply += "$name uses $(Bytes2String $used) ($percent%) of $(Bytes2String $total)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Write-Host "$status $reply"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
@ -100,4 +103,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-drives.ps1 as of 08/15/2024 09:50:45)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Script: *check-dusk.ps1*
|
The *check-dusk.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
check-dusk.ps1
|
check-dusk.ps1
|
||||||
|
|
||||||
@ -63,4 +63,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-dusk.ps1 as of 08/15/2024 09:50:45)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-easter-sunday.ps1*
|
The *check-easter-sunday.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script checks the time until Easter Sunday and replies by text-to-speech (TTS).
|
This PowerShell script checks the time until Easter Sunday and replies by text-to-speech (TTS).
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-easter-sunday.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-easter-sunday.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -61,4 +61,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-easter-sunday.ps1 as of 08/15/2024 09:50:45)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-file-system.ps1*
|
The *check-file-system.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script checks the file system of a drive. It needs admin rights.
|
This PowerShell script checks the file system of a drive. It needs admin rights.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-file-system.ps1 [[-Drive] <String>] [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-file-system.ps1 [[-Drive] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-Drive <String>
|
-Drive <String>
|
||||||
Specifies the drive to check
|
Specifies the drive to check
|
||||||
@ -15,6 +15,7 @@ PS> ./check-file-system.ps1 [[-Drive] <String>] [<CommonParameters>]
|
|||||||
Position? 1
|
Position? 1
|
||||||
Default value
|
Default value
|
||||||
Accept pipeline input? false
|
Accept pipeline input? false
|
||||||
|
Aliases
|
||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
@ -26,7 +27,7 @@ Example
|
|||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-file-system C
|
PS> ./check-file-system C
|
||||||
✔️ file system on drive C is clean
|
✅ file system on drive C is clean
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -50,7 +51,7 @@ Script Content
|
|||||||
Specifies the drive to check
|
Specifies the drive to check
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./check-file-system C
|
PS> ./check-file-system C
|
||||||
✔️ file system on drive C is clean
|
✅ file system on drive C is clean
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -75,4 +76,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-file-system.ps1 as of 08/15/2024 09:50:45)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-file.ps1*
|
The *check-file.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script determines and prints the file type of the given file.
|
This PowerShell script determines and prints the file type of the given file.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-file.ps1 [[-Path] <String>] [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-file.ps1 [[-Path] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-Path <String>
|
-Path <String>
|
||||||
Specifies the path to the file
|
Specifies the path to the file
|
||||||
@ -15,6 +15,7 @@ PS> ./check-file.ps1 [[-Path] <String>] [<CommonParameters>]
|
|||||||
Position? 1
|
Position? 1
|
||||||
Default value
|
Default value
|
||||||
Accept pipeline input? false
|
Accept pipeline input? false
|
||||||
|
Aliases
|
||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
@ -170,4 +171,4 @@ function Check-Header { param( $path )
|
|||||||
Check-Header $Path
|
Check-Header $Path
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-file.ps1 as of 08/15/2024 09:50:45)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-firewall.ps1*
|
The *check-firewall.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script queries the status of the firewall and prints it.
|
This PowerShell script queries the status of the firewall and prints it.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-firewall.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-firewall.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -65,4 +65,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-firewall.ps1 as of 08/15/2024 09:50:45)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Script: *check-gpu.ps1*
|
The *check-gpu.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
check-gpu.ps1
|
check-gpu.ps1
|
||||||
|
|
||||||
@ -28,7 +28,7 @@ Script Content
|
|||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
Author: Markus Fleschutz | License: CC0
|
Author: Markus Fleschutz, Tyler MacInnis | License: CC0
|
||||||
#>
|
#>
|
||||||
|
|
||||||
function Bytes2String { param([int64]$Bytes)
|
function Bytes2String { param([int64]$Bytes)
|
||||||
@ -48,15 +48,17 @@ try {
|
|||||||
# TODO
|
# TODO
|
||||||
} else {
|
} else {
|
||||||
$Details = Get-WmiObject Win32_VideoController
|
$Details = Get-WmiObject Win32_VideoController
|
||||||
$Model = $Details.Caption
|
foreach ($GPU in $Details) {
|
||||||
$RAMSize = $Details.AdapterRAM
|
$Model = $GPU.Caption
|
||||||
$ResWidth = $Details.CurrentHorizontalResolution
|
$RAMSize = $GPU.AdapterRAM
|
||||||
$ResHeight = $Details.CurrentVerticalResolution
|
$ResWidth = $GPU.CurrentHorizontalResolution
|
||||||
$BitsPerPixel = $Details.CurrentBitsPerPixel
|
$ResHeight = $GPU.CurrentVerticalResolution
|
||||||
$RefreshRate = $Details.CurrentRefreshRate
|
$BitsPerPixel = $GPU.CurrentBitsPerPixel
|
||||||
$DriverVersion = $Details.DriverVersion
|
$RefreshRate = $GPU.CurrentRefreshRate
|
||||||
$Status = $Details.Status
|
$DriverVersion = $GPU.DriverVersion
|
||||||
Write-Host "✅ $Model GPU ($(Bytes2String $RAMSize) RAM, $($ResWidth)x$($ResHeight) pixels, $($BitsPerPixel)-bit, $($RefreshRate)Hz, driver $DriverVersion) - status $Status"
|
$Status = $GPU.Status
|
||||||
|
Write-Host "✅ $Model GPU ($(Bytes2String $RAMSize) RAM, $($ResWidth)x$($ResHeight) pixels, $($BitsPerPixel)-bit, $($RefreshRate)Hz, driver $DriverVersion) - status $Status"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
@ -65,4 +67,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-gpu.ps1 as of 08/15/2024 09:50:45)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-hardware.ps1*
|
The *check-hardware.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script queries the hardware details of the local computer and prints it.
|
This PowerShell script queries the hardware details of the local computer and prints it.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-hardware.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-hardware.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -18,7 +18,7 @@ Example
|
|||||||
```powershell
|
```powershell
|
||||||
PS> ./check-hardware.ps1
|
PS> ./check-hardware.ps1
|
||||||
|
|
||||||
H A R D W A R E
|
=== H A R D W A R E ===
|
||||||
✅ Intel(R) Core(TM) i5-6400 CPU @ 2.70GHz (CPU0, 2701MHz, socket U3E1, 30.1°C)
|
✅ Intel(R) Core(TM) i5-6400 CPU @ 2.70GHz (CPU0, 2701MHz, socket U3E1, 30.1°C)
|
||||||
...
|
...
|
||||||
|
|
||||||
@ -43,7 +43,7 @@ Script Content
|
|||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./check-hardware.ps1
|
PS> ./check-hardware.ps1
|
||||||
|
|
||||||
H A R D W A R E
|
=== H A R D W A R E ===
|
||||||
✅ Intel(R) Core(TM) i5-6400 CPU @ 2.70GHz (CPU0, 2701MHz, socket U3E1, 30.1°C)
|
✅ Intel(R) Core(TM) i5-6400 CPU @ 2.70GHz (CPU0, 2701MHz, socket U3E1, 30.1°C)
|
||||||
...
|
...
|
||||||
.LINK
|
.LINK
|
||||||
@ -52,10 +52,11 @@ Script Content
|
|||||||
Author: Markus Fleschutz | License: CC0
|
Author: Markus Fleschutz | License: CC0
|
||||||
#>
|
#>
|
||||||
|
|
||||||
Write-Host "`n H A R D W A R E" -foregroundColor green
|
Write-Host "`n === H A R D W A R E ===" -foregroundColor green
|
||||||
& "$PSScriptRoot/check-cpu.ps1"
|
& "$PSScriptRoot/check-cpu.ps1"
|
||||||
& "$PSScriptRoot/check-ram.ps1"
|
& "$PSScriptRoot/check-ram.ps1"
|
||||||
& "$PSScriptRoot/check-gpu.ps1"
|
& "$PSScriptRoot/check-gpu.ps1"
|
||||||
|
& "$PSScriptRoot/check-motherboard.ps1"
|
||||||
& "$PSScriptRoot/check-bios.ps1"
|
& "$PSScriptRoot/check-bios.ps1"
|
||||||
& "$PSScriptRoot/check-smart-devices.ps1"
|
& "$PSScriptRoot/check-smart-devices.ps1"
|
||||||
& "$PSScriptRoot/check-power.ps1"
|
& "$PSScriptRoot/check-power.ps1"
|
||||||
@ -63,4 +64,4 @@ Write-Host "`n H A R D W A R E" -foregroundColor green
|
|||||||
exit 0 # success
|
exit 0 # success
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-hardware.ps1 as of 08/15/2024 09:50:45)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-health.ps1*
|
The *check-health.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script queries the system health of the local computer (hardware, software, and network) and prints it.
|
This PowerShell script queries the system health of the local computer (hardware, software, and network) and prints it.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-health.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-health.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -58,4 +58,4 @@ Script Content
|
|||||||
exit 0 # success
|
exit 0 # success
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-health.ps1 as of 08/15/2024 09:50:45)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-independence-day.ps1*
|
The *check-independence-day.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script checks the time until Indepence Day and replies by text-to-speech (TTS).
|
This PowerShell script checks the time until Indepence Day and replies by text-to-speech (TTS).
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-independence-day.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-independence-day.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -61,4 +61,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-independence-day.ps1 as of 08/15/2024 09:50:45)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-ipv4-address.ps1*
|
The *check-ipv4-address.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script checks the given IPv4 address for validity.
|
This PowerShell script checks the given IPv4 address for validity.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-ipv4-address.ps1 [[-Address] <String>] [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-ipv4-address.ps1 [[-Address] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-Address <String>
|
-Address <String>
|
||||||
Specifies the IPv4 address to check
|
Specifies the IPv4 address to check
|
||||||
@ -15,6 +15,7 @@ PS> ./check-ipv4-address.ps1 [[-Address] <String>] [<CommonParameters>]
|
|||||||
Position? 1
|
Position? 1
|
||||||
Default value
|
Default value
|
||||||
Accept pipeline input? false
|
Accept pipeline input? false
|
||||||
|
Aliases
|
||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
@ -26,7 +27,7 @@ Example
|
|||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-ipv4-address 192.168.11.22
|
PS> ./check-ipv4-address 192.168.11.22
|
||||||
✔️ IPv4 192.168.11.22 is valid
|
✅ IPv4 192.168.11.22 is valid
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -50,7 +51,7 @@ Script Content
|
|||||||
Specifies the IPv4 address to check
|
Specifies the IPv4 address to check
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./check-ipv4-address 192.168.11.22
|
PS> ./check-ipv4-address 192.168.11.22
|
||||||
✔️ IPv4 192.168.11.22 is valid
|
✅ IPv4 192.168.11.22 is valid
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -72,7 +73,7 @@ try {
|
|||||||
if ($Address -eq "" ) { $Address = read-host "Enter IPv4 address to validate" }
|
if ($Address -eq "" ) { $Address = read-host "Enter IPv4 address to validate" }
|
||||||
|
|
||||||
if (IsIPv4AddressValid $Address) {
|
if (IsIPv4AddressValid $Address) {
|
||||||
"✔️ IPv4 $Address is valid"
|
"✅ IPv4 $Address is valid"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} else {
|
} else {
|
||||||
write-warning "Invalid IPv4 address: $Address"
|
write-warning "Invalid IPv4 address: $Address"
|
||||||
@ -84,4 +85,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-ipv4-address.ps1 as of 08/15/2024 09:50:45)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-ipv6-address.ps1*
|
The *check-ipv6-address.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script checks the given IPv6 address for validity
|
This PowerShell script checks the given IPv6 address for validity
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-ipv6-address.ps1 [[-Address] <String>] [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-ipv6-address.ps1 [[-Address] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-Address <String>
|
-Address <String>
|
||||||
Specifies the IPv6 address to check
|
Specifies the IPv6 address to check
|
||||||
@ -15,6 +15,7 @@ PS> ./check-ipv6-address.ps1 [[-Address] <String>] [<CommonParameters>]
|
|||||||
Position? 1
|
Position? 1
|
||||||
Default value
|
Default value
|
||||||
Accept pipeline input? false
|
Accept pipeline input? false
|
||||||
|
Aliases
|
||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
@ -26,7 +27,7 @@ Example
|
|||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-ipv6-address fe80::200:5aee:feaa:20a2
|
PS> ./check-ipv6-address fe80::200:5aee:feaa:20a2
|
||||||
✔️ IPv6 fe80::200:5aee:feaa:20a2 is valid
|
✅ IPv6 fe80::200:5aee:feaa:20a2 is valid
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -50,7 +51,7 @@ Script Content
|
|||||||
Specifies the IPv6 address to check
|
Specifies the IPv6 address to check
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./check-ipv6-address fe80::200:5aee:feaa:20a2
|
PS> ./check-ipv6-address fe80::200:5aee:feaa:20a2
|
||||||
✔️ IPv6 fe80::200:5aee:feaa:20a2 is valid
|
✅ IPv6 fe80::200:5aee:feaa:20a2 is valid
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -86,7 +87,7 @@ try {
|
|||||||
$Address = read-host "Enter IPv6 address to validate"
|
$Address = read-host "Enter IPv6 address to validate"
|
||||||
}
|
}
|
||||||
if (IsIPv6AddressValid $Address) {
|
if (IsIPv6AddressValid $Address) {
|
||||||
"✔️ IPv6 $Address is valid"
|
"✅ IPv6 $Address is valid"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} else {
|
} else {
|
||||||
write-warning "Invalid IPv6 address: $Address"
|
write-warning "Invalid IPv6 address: $Address"
|
||||||
@ -98,4 +99,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-ipv6-address.ps1 as of 08/15/2024 09:50:45)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-iss-position.ps1*
|
The *check-iss-position.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script queries the position of the International Space Station (ISS) and replies by text-to-speech (TTS).
|
This PowerShell script queries the position of the International Space Station (ISS) and replies by text-to-speech (TTS).
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-iss-position.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-iss-position.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -55,4 +55,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-iss-position.ps1 as of 08/15/2024 09:50:45)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Script: *check-mac-address.ps1*
|
The *check-mac-address.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script checks the given MAC address for validity
|
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.
|
Supported MAC address formats are: 00:00:00:00:00:00 or 00-00-00-00-00-00 or 000000000000.
|
||||||
@ -7,7 +7,7 @@ Supported MAC address formats are: 00:00:00:00:00:00 or 00-00-00-00-00-00 or 000
|
|||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-mac-address.ps1 [[-MAC] <String>] [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-mac-address.ps1 [[-MAC] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-MAC <String>
|
-MAC <String>
|
||||||
Specifies the MAC address to check
|
Specifies the MAC address to check
|
||||||
@ -16,6 +16,7 @@ PS> ./check-mac-address.ps1 [[-MAC] <String>] [<CommonParameters>]
|
|||||||
Position? 1
|
Position? 1
|
||||||
Default value
|
Default value
|
||||||
Accept pipeline input? false
|
Accept pipeline input? false
|
||||||
|
Aliases
|
||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
@ -27,7 +28,7 @@ Example
|
|||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-mac-address 11:22:33:44:55:66
|
PS> ./check-mac-address 11:22:33:44:55:66
|
||||||
✔️ MAC address 11:22:33:44:55:66 is valid
|
✅ MAC address 11:22:33:44:55:66 is valid
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -52,7 +53,7 @@ Script Content
|
|||||||
Specifies the MAC address to check
|
Specifies the MAC address to check
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./check-mac-address 11:22:33:44:55:66
|
PS> ./check-mac-address 11:22:33:44:55:66
|
||||||
✔️ MAC address 11:22:33:44:55:66 is valid
|
✅ MAC address 11:22:33:44:55:66 is valid
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -75,7 +76,7 @@ try {
|
|||||||
$MAC = read-host "Enter MAC address to validate"
|
$MAC = read-host "Enter MAC address to validate"
|
||||||
}
|
}
|
||||||
if (IsMACAddressValid $MAC) {
|
if (IsMACAddressValid $MAC) {
|
||||||
"✔️ MAC address $MAC is valid"
|
"✅ MAC address $MAC is valid"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} else {
|
} else {
|
||||||
write-warning "Invalid MAC address: $MAC"
|
write-warning "Invalid MAC address: $MAC"
|
||||||
@ -87,4 +88,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-mac-address.ps1 as of 08/15/2024 09:50:45)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Script: *check-midnight.ps1*
|
The *check-midnight.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
check-midnight.ps1
|
check-midnight.ps1
|
||||||
|
|
||||||
@ -60,4 +60,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-midnight.ps1 as of 08/15/2024 09:50:45)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-month.ps1*
|
The *check-month.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script determines and speaks the current month name by text-to-speech (TTS).
|
This PowerShell script determines and speaks the current month name by text-to-speech (TTS).
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-month.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-month.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -17,7 +17,7 @@ Example
|
|||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-month
|
PS> ./check-month
|
||||||
✔️ It's December.
|
✅ It's December.
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -39,7 +39,7 @@ Script Content
|
|||||||
This PowerShell script determines and speaks the current month name by text-to-speech (TTS).
|
This PowerShell script determines and speaks the current month name by text-to-speech (TTS).
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./check-month
|
PS> ./check-month
|
||||||
✔️ It's December.
|
✅ It's December.
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -57,4 +57,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-month.ps1 as of 08/15/2024 09:50:45)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-moon-phase.ps1*
|
The *check-moon-phase.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script determines the Moon phase and answers by text-to-speech (TTS).
|
This PowerShell script determines the Moon phase and answers by text-to-speech (TTS).
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-moon-phase.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-moon-phase.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -76,4 +76,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-moon-phase.ps1 as of 08/15/2024 09:50:45)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)*
|
||||||
|
62
docs/check-motherboard.md
Normal file
62
docs/check-motherboard.md
Normal file
@ -0,0 +1,62 @@
|
|||||||
|
The *check-motherboard.ps1* Script
|
||||||
|
===========================
|
||||||
|
|
||||||
|
This PowerShell script lists the motherboard details.
|
||||||
|
|
||||||
|
Parameters
|
||||||
|
----------
|
||||||
|
```powershell
|
||||||
|
/Repos/PowerShell/scripts/check-motherboard.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
|
[<CommonParameters>]
|
||||||
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
|
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||||
|
```
|
||||||
|
|
||||||
|
Example
|
||||||
|
-------
|
||||||
|
```powershell
|
||||||
|
PS> ./check-motherboard.ps1
|
||||||
|
✅ Motherboard Calla_LC by LN
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
|
Notes
|
||||||
|
-----
|
||||||
|
Author: Markus Fleschutz | License: CC0
|
||||||
|
|
||||||
|
Related Links
|
||||||
|
-------------
|
||||||
|
https://github.com/fleschutz/PowerShell
|
||||||
|
|
||||||
|
Script Content
|
||||||
|
--------------
|
||||||
|
```powershell
|
||||||
|
<#
|
||||||
|
.SYNOPSIS
|
||||||
|
Lists motherboard details
|
||||||
|
.DESCRIPTION
|
||||||
|
This PowerShell script lists the motherboard details.
|
||||||
|
.EXAMPLE
|
||||||
|
PS> ./check-motherboard.ps1
|
||||||
|
✅ Motherboard Calla_LC by LN
|
||||||
|
.LINK
|
||||||
|
https://github.com/fleschutz/PowerShell
|
||||||
|
.NOTES
|
||||||
|
Author: Markus Fleschutz | License: CC0
|
||||||
|
#>
|
||||||
|
|
||||||
|
try {
|
||||||
|
if ($IsLinux) {
|
||||||
|
} else {
|
||||||
|
$details = Get-WmiObject -Class Win32_BaseBoard
|
||||||
|
"✅ Motherboard $($details.Product) by $($details.Manufacturer)"
|
||||||
|
}
|
||||||
|
exit 0 # success
|
||||||
|
} catch {
|
||||||
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)*
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-network.ps1*
|
The *check-network.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script queries the network details of the local computer and prints it.
|
This PowerShell script queries the network details of the local computer and prints it.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-network.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-network.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -20,8 +20,8 @@ PS> ./check-network.ps1
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
N E T W O R K
|
=== N E T W O R K ===
|
||||||
✅ Online with 30ms latency (16ms..56ms, 0/10 loss)
|
✅ Firewall enabled
|
||||||
...
|
...
|
||||||
|
|
||||||
```
|
```
|
||||||
@ -39,14 +39,14 @@ Script Content
|
|||||||
```powershell
|
```powershell
|
||||||
<#
|
<#
|
||||||
.SYNOPSIS
|
.SYNOPSIS
|
||||||
Checks the network details
|
Checks the network
|
||||||
.DESCRIPTION
|
.DESCRIPTION
|
||||||
This PowerShell script queries the network details of the local computer and prints it.
|
This PowerShell script queries the network details of the local computer and prints it.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./check-network.ps1
|
PS> ./check-network.ps1
|
||||||
|
|
||||||
N E T W O R K
|
=== N E T W O R K ===
|
||||||
✅ Online with 30ms latency (16ms..56ms, 0/10 loss)
|
✅ Firewall enabled
|
||||||
...
|
...
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
@ -54,14 +54,17 @@ Script Content
|
|||||||
Author: Markus Fleschutz | License: CC0
|
Author: Markus Fleschutz | License: CC0
|
||||||
#>
|
#>
|
||||||
|
|
||||||
Write-Host "`n N E T W O R K" -foregroundColor green
|
Write-Host "`n === N E T W O R K ===" -foregroundColor green
|
||||||
& "$PSScriptRoot/list-ip-addresses.ps1"
|
|
||||||
& "$PSScriptRoot/ping-remote-hosts.ps1"
|
|
||||||
& "$PSScriptRoot/check-firewall"
|
& "$PSScriptRoot/check-firewall"
|
||||||
|
& "$PSScriptRoot/list-local-ip.ps1"
|
||||||
|
& "$PSScriptRoot/ping-local-devices.ps1"
|
||||||
|
& "$PSScriptRoot/list-network-shares.ps1"
|
||||||
|
& "$PSScriptRoot/list-internet-ip.ps1"
|
||||||
|
& "$PSScriptRoot/ping-internet.ps1"
|
||||||
& "$PSScriptRoot/check-dns.ps1"
|
& "$PSScriptRoot/check-dns.ps1"
|
||||||
& "$PSScriptRoot/check-vpn.ps1"
|
& "$PSScriptRoot/check-vpn.ps1"
|
||||||
& "$PSScriptRoot/ping-local-hosts.ps1"
|
& "$PSScriptRoot/list-ssh-key.ps1"
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-network.ps1 as of 08/15/2024 09:50:45)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Script: *check-noon.ps1*
|
The *check-noon.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
check-noon.ps1
|
check-noon.ps1
|
||||||
|
|
||||||
@ -59,4 +59,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-noon.ps1 as of 08/15/2024 09:50:46)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-os.ps1*
|
The *check-os.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script queries the operating system status and prints it.
|
This PowerShell script queries the operating system status and prints it.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-os.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-os.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -17,7 +17,7 @@ Example
|
|||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-os.ps1
|
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)
|
✅ Windows 10 Pro 64-bit since 6/22/2021 (v10.0.19045, S/N 00123-45678-15135-AAOEM, P/K AB123-CD456-EF789-GH000-WFR6P)
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -39,7 +39,7 @@ Script Content
|
|||||||
This PowerShell script queries the operating system status and prints it.
|
This PowerShell script queries the operating system status and prints it.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./check-os.ps1
|
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)
|
✅ Windows 10 Pro 64-bit since 6/22/2021 (v10.0.19045, S/N 00123-45678-15135-AAOEM, P/K AB123-CD456-EF789-GH000-WFR6P)
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -64,7 +64,7 @@ try {
|
|||||||
$InstallDate = $OSDetails.InstallDate
|
$InstallDate = $OSDetails.InstallDate
|
||||||
|
|
||||||
$ProductKey = (Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform" -Name BackupProductKeyDefault).BackupProductKeyDefault
|
$ProductKey = (Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform" -Name BackupProductKeyDefault).BackupProductKeyDefault
|
||||||
Write-Host "✅ $Name $Arch (v$Version, since $($InstallDate.ToShortDateString()), S/N $Serial, P/K $ProductKey)"
|
Write-Host "✅ $Name $Arch since $($InstallDate.ToShortDateString()) (v$Version, S/N $Serial, P/K $ProductKey)"
|
||||||
}
|
}
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
@ -73,4 +73,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-os.ps1 as of 08/15/2024 09:50:46)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-outlook.ps1*
|
The *check-outlook.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script checks the inbox of Outlook for new/unread mails.
|
This PowerShell script checks the inbox of Outlook for new/unread mails.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-outlook.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-outlook.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -65,4 +65,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-outlook.ps1 as of 08/15/2024 09:50:46)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-password.ps1*
|
The *check-password.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script checks the security status of the given password by haveibeenpwned.com
|
This PowerShell script checks the security status of the given password by haveibeenpwned.com
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-password.ps1 [[-password] <String>] [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-password.ps1 [[-password] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-password <String>
|
-password <String>
|
||||||
|
|
||||||
@ -14,6 +14,7 @@ PS> ./check-password.ps1 [[-password] <String>] [<CommonParameters>]
|
|||||||
Position? 1
|
Position? 1
|
||||||
Default value
|
Default value
|
||||||
Accept pipeline input? false
|
Accept pipeline input? false
|
||||||
|
Aliases
|
||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
@ -94,4 +95,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-password.ps1 as of 08/15/2024 09:50:46)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Script: *check-pending-reboot.ps1*
|
The *check-pending-reboot.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
check-pending-reboot.ps1
|
check-pending-reboot.ps1
|
||||||
|
|
||||||
@ -24,7 +24,7 @@ Script Content
|
|||||||
This PowerShell script queries pending operating system reboots and prints it.
|
This PowerShell script queries pending operating system reboots and prints it.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
./check-pending-reboot.ps1
|
./check-pending-reboot.ps1
|
||||||
✅ No pending reboot
|
✅ No pending reboot.
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -41,50 +41,48 @@ function Test-RegistryValue { param([parameter(Mandatory=$true)][ValidateNotNull
|
|||||||
}
|
}
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$Reason = ""
|
[string]$reply = "✅ No pending reboot."
|
||||||
if ($IsLinux) {
|
if ($IsLinux) {
|
||||||
if (Test-Path "/var/run/reboot-required") {
|
if (Test-Path "/var/run/reboot-required") {
|
||||||
$Reason = "found: /var/run/reboot-required"
|
$reply = "⚠️ Pending reboot (found: /var/run/reboot-required)"
|
||||||
Write-Host "⚠️ Pending reboot ($Reason)"
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
$reason = ""
|
||||||
if (Test-Path -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired") {
|
if (Test-Path -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\RebootRequired") {
|
||||||
$Reason += ", ...\Auto Update\RebootRequired"
|
$reason += ", ...\Auto Update\RebootRequired"
|
||||||
}
|
}
|
||||||
if (Test-Path -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\PostRebootReporting") {
|
if (Test-Path -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\PostRebootReporting") {
|
||||||
$Reason += ", ...\Auto Update\PostRebootReporting"
|
$reason += ", ...\Auto Update\PostRebootReporting"
|
||||||
}
|
}
|
||||||
if (Test-Path -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\RebootPending") {
|
if (Test-Path -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\RebootPending") {
|
||||||
$Reason += ", ...\Component Based Servicing\RebootPending"
|
$reason += ", ...\Component Based Servicing\RebootPending"
|
||||||
}
|
}
|
||||||
if (Test-Path -Path "HKLM:\SOFTWARE\Microsoft\ServerManager\CurrentRebootAttempts") {
|
if (Test-Path -Path "HKLM:\SOFTWARE\Microsoft\ServerManager\CurrentRebootAttempts") {
|
||||||
$Reason += ", ...\ServerManager\CurrentRebootAttempts"
|
$reason += ", ...\ServerManager\CurrentRebootAttempts"
|
||||||
}
|
}
|
||||||
if (Test-RegistryValue -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Component Based Servicing" -Value "RebootInProgress") {
|
if (Test-RegistryValue -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Component Based Servicing" -Value "RebootInProgress") {
|
||||||
$Reason += ", ...\CurrentVersion\Component Based Servicing with 'RebootInProgress'"
|
$reason += ", ...\CurrentVersion\Component Based Servicing with 'RebootInProgress'"
|
||||||
}
|
}
|
||||||
if (Test-RegistryValue -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Component Based Servicing" -Value "PackagesPending") {
|
if (Test-RegistryValue -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Component Based Servicing" -Value "PackagesPending") {
|
||||||
$Reason += ", '...\CurrentVersion\Component Based Servicing' with 'PackagesPending'"
|
$reason += ", '...\CurrentVersion\Component Based Servicing' with 'PackagesPending'"
|
||||||
}
|
}
|
||||||
if (Test-RegistryValue -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager" -Value "PendingFileRenameOperations2") {
|
if (Test-RegistryValue -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Session Manager" -Value "PendingFileRenameOperations2") {
|
||||||
$Reason += ", '...\CurrentControlSet\Control\Session Manager' with 'PendingFileRenameOperations2'"
|
$reason += ", '...\CurrentControlSet\Control\Session Manager' with 'PendingFileRenameOperations2'"
|
||||||
}
|
}
|
||||||
if (Test-RegistryValue -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce" -Value "DVDRebootSignal") {
|
if (Test-RegistryValue -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce" -Value "DVDRebootSignal") {
|
||||||
$Reason += ", '...\Windows\CurrentVersion\RunOnce' with 'DVDRebootSignal'"
|
$reason += ", '...\Windows\CurrentVersion\RunOnce' with 'DVDRebootSignal'"
|
||||||
}
|
}
|
||||||
if (Test-RegistryValue -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Netlogon" -Value "JoinDomain") {
|
if (Test-RegistryValue -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Netlogon" -Value "JoinDomain") {
|
||||||
$Reason += ", '...\CurrentControlSet\Services\Netlogon' with 'JoinDomain'"
|
$reason += ", '...\CurrentControlSet\Services\Netlogon' with 'JoinDomain'"
|
||||||
}
|
}
|
||||||
if (Test-RegistryValue -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Netlogon" -Value "AvoidSpnSet") {
|
if (Test-RegistryValue -Path "HKLM:\SYSTEM\CurrentControlSet\Services\Netlogon" -Value "AvoidSpnSet") {
|
||||||
$Reason += ", '...\CurrentControlSet\Services\Netlogon' with 'AvoidSpnSet'"
|
$reason += ", '...\CurrentControlSet\Services\Netlogon' with 'AvoidSpnSet'"
|
||||||
}
|
}
|
||||||
if ($Reason -ne "") {
|
if ($reason -ne "") {
|
||||||
Write-Host "⚠️ Pending reboot (registry got $($Reason.substring(2)))"
|
$reply = "⚠️ Pending reboot (found: $($reason.substring(2)) in registry)"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ($Reason -eq "") {
|
Write-Host $reply
|
||||||
Write-Host "✅ No pending reboot"
|
|
||||||
}
|
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||||
@ -92,4 +90,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-pending-reboot.ps1 as of 08/15/2024 09:50:46)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-pnp-devices.ps1*
|
The *check-pnp-devices.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script checks all Plug'n'PLay devices connected to the local computer.
|
This PowerShell script checks all Plug'n'PLay devices connected to the local computer.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-pnp-devices.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-pnp-devices.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -65,4 +65,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-pnp-devices.ps1 as of 08/15/2024 09:50:46)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-power.ps1*
|
The *check-power.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script queries the power status and prints it.
|
This PowerShell script queries the power status and prints it.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-power.ps1 [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-power.ps1 [<CommonParameters>]
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||||
@ -17,7 +17,7 @@ Example
|
|||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-power.ps1
|
PS> ./check-power.ps1
|
||||||
⚠️ Battery at 9% with 54min remaining · power scheme 'HP Optimized'
|
⚠️ Battery 9% only with 54min remaining (power scheme is 'HP Optimized')
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -39,7 +39,7 @@ Script Content
|
|||||||
This PowerShell script queries the power status and prints it.
|
This PowerShell script queries the power status and prints it.
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./check-power.ps1
|
PS> ./check-power.ps1
|
||||||
⚠️ Battery at 9% with 54min remaining · power scheme 'HP Optimized'
|
⚠️ Battery 9% only with 54min remaining (power scheme is 'HP Optimized')
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -54,35 +54,34 @@ try {
|
|||||||
$details = [System.Windows.Forms.SystemInformation]::PowerStatus
|
$details = [System.Windows.Forms.SystemInformation]::PowerStatus
|
||||||
[int]$percent = 100 * $details.BatteryLifePercent
|
[int]$percent = 100 * $details.BatteryLifePercent
|
||||||
[int]$remaining = $details.BatteryLifeRemaining / 60
|
[int]$remaining = $details.BatteryLifeRemaining / 60
|
||||||
if ($details.PowerLineStatus -eq "Online") {
|
|
||||||
if ($details.BatteryChargeStatus -eq "NoSystemBattery") {
|
|
||||||
$reply = "✅ AC powered"
|
|
||||||
} elseif ($percent -ge 95) {
|
|
||||||
$reply = "✅ Battery $percent% full"
|
|
||||||
} else {
|
|
||||||
$reply = "✅ Battery charging ($percent%)"
|
|
||||||
}
|
|
||||||
} else { # must be offline
|
|
||||||
if (($remaining -eq 0) -and ($percent -ge 60)) {
|
|
||||||
$reply = "✅ Battery $percent% full"
|
|
||||||
} elseif ($remaining -eq 0) {
|
|
||||||
$reply = "✅ Battery at $percent%"
|
|
||||||
} elseif ($remaining -le 5) {
|
|
||||||
$reply = "⚠️ Battery at $percent% with ONLY $($remaining)min remaining"
|
|
||||||
} elseif ($remaining -le 30) {
|
|
||||||
$reply = "⚠️ Battery at $percent% with only $($remaining)min remaining"
|
|
||||||
} elseif ($percent -lt 10) {
|
|
||||||
$reply = "⚠️ Battery at $percent% with $($remaining)min remaining"
|
|
||||||
} elseif ($percent -ge 80) {
|
|
||||||
$reply = "✅ Battery $percent% full with $($remaining)min remaining"
|
|
||||||
} else {
|
|
||||||
$reply = "✅ Battery at $percent% with $($remaining)min remaining"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
$powerScheme = (powercfg /getactivescheme)
|
$powerScheme = (powercfg /getactivescheme)
|
||||||
$powerScheme = $powerScheme -Replace "^(.*) \(",""
|
$powerScheme = $powerScheme -Replace "^(.*) \(",""
|
||||||
$powerScheme = $powerScheme -Replace "\)$",""
|
$powerScheme = $powerScheme -Replace "\)$",""
|
||||||
$reply += ", power scheme is '$powerScheme'"
|
if ($details.PowerLineStatus -eq "Online") {
|
||||||
|
if ($details.BatteryChargeStatus -eq "NoSystemBattery") {
|
||||||
|
$reply = "✅ AC powered"
|
||||||
|
} elseif ($percent -ge 90) {
|
||||||
|
$reply = "✅ Battery $percent% full (power scheme is '$powerScheme')"
|
||||||
|
} else {
|
||||||
|
$reply = "✅ Battery $percent% and charging (power scheme is '$powerScheme')"
|
||||||
|
}
|
||||||
|
} else { # must be offline
|
||||||
|
if (($remaining -eq 0) -and ($percent -ge 60)) {
|
||||||
|
$reply = "✅ Battery $percent% full (power scheme is '$powerScheme')"
|
||||||
|
} elseif ($remaining -eq 0) {
|
||||||
|
$reply = "✅ Battery at $percent% (power scheme is '$powerScheme')"
|
||||||
|
} elseif ($remaining -le 5) {
|
||||||
|
$reply = "⚠️ Battery LOW ($percent%, $($remaining)min remaining, power scheme is '$powerScheme')"
|
||||||
|
} elseif ($remaining -le 30) {
|
||||||
|
$reply = "⚠️ Battery low ($percent%, $($remaining)min remaining, power scheme is '$powerScheme')"
|
||||||
|
} elseif ($percent -lt 10) {
|
||||||
|
$reply = "⚠️ Battery $percent% only with $($remaining)min remaining (power scheme is '$powerScheme') "
|
||||||
|
} elseif ($percent -ge 90) {
|
||||||
|
$reply = "✅ Battery $percent% full ($($remaining)min remaining, power scheme is '$powerScheme')"
|
||||||
|
} else {
|
||||||
|
$reply = "✅ Battery $percent% with $($remaining)min remaining (power scheme is '$powerScheme') "
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Write-Host $reply
|
Write-Host $reply
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
@ -92,4 +91,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-power.ps1 as of 08/15/2024 09:50:46)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Script: *check-powershell.ps1*
|
The *check-powershell.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
check-powershell.ps1
|
check-powershell.ps1
|
||||||
|
|
||||||
@ -59,4 +59,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-powershell.ps1 as of 08/15/2024 09:50:46)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)*
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
Script: *check-ps1-file.ps1*
|
The *check-ps1-file.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
This PowerShell script checks the given PowerShell script file(s) for validity.
|
This PowerShell script checks the given PowerShell script file(s) for validity.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-ps1-file.ps1 [[-filePattern] <String>] [<CommonParameters>]
|
/Repos/PowerShell/scripts/check-ps1-file.ps1 [[-filePattern] <String>] [<CommonParameters>]
|
||||||
|
|
||||||
-filePattern <String>
|
-filePattern <String>
|
||||||
Specifies the file pattern to the PowerShell file(s)
|
Specifies the file pattern to the PowerShell file(s)
|
||||||
@ -15,6 +15,7 @@ PS> ./check-ps1-file.ps1 [[-filePattern] <String>] [<CommonParameters>]
|
|||||||
Position? 1
|
Position? 1
|
||||||
Default value
|
Default value
|
||||||
Accept pipeline input? false
|
Accept pipeline input? false
|
||||||
|
Aliases
|
||||||
Accept wildcard characters? false
|
Accept wildcard characters? false
|
||||||
|
|
||||||
[<CommonParameters>]
|
[<CommonParameters>]
|
||||||
@ -26,7 +27,7 @@ Example
|
|||||||
-------
|
-------
|
||||||
```powershell
|
```powershell
|
||||||
PS> ./check-ps1-file *.ps1
|
PS> ./check-ps1-file *.ps1
|
||||||
✔️ Valid PowerShell in myfile.ps1
|
✅ Valid PowerShell in myfile.ps1
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -50,7 +51,7 @@ Script Content
|
|||||||
Specifies the file pattern to the PowerShell file(s)
|
Specifies the file pattern to the PowerShell file(s)
|
||||||
.EXAMPLE
|
.EXAMPLE
|
||||||
PS> ./check-ps1-file *.ps1
|
PS> ./check-ps1-file *.ps1
|
||||||
✔️ Valid PowerShell in myfile.ps1
|
✅ Valid PowerShell in myfile.ps1
|
||||||
.LINK
|
.LINK
|
||||||
https://github.com/fleschutz/PowerShell
|
https://github.com/fleschutz/PowerShell
|
||||||
.NOTES
|
.NOTES
|
||||||
@ -67,7 +68,7 @@ try {
|
|||||||
$syntaxError = @()
|
$syntaxError = @()
|
||||||
[void][System.Management.Automation.Language.Parser]::ParseFile($file, [ref]$null, [ref]$syntaxError)
|
[void][System.Management.Automation.Language.Parser]::ParseFile($file, [ref]$null, [ref]$syntaxError)
|
||||||
if ("$syntaxError" -ne "") { throw "$syntaxError" }
|
if ("$syntaxError" -ne "") { throw "$syntaxError" }
|
||||||
"✔️ Valid PowerShell in $($file.Name)"
|
"✅ Valid PowerShell in $($file.Name)"
|
||||||
}
|
}
|
||||||
exit 0 # success
|
exit 0 # success
|
||||||
} catch {
|
} catch {
|
||||||
@ -76,4 +77,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-ps1-file.ps1 as of 08/15/2024 09:50:46)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)*
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
Script: *check-ram.ps1*
|
The *check-ram.ps1* Script
|
||||||
========================
|
===========================
|
||||||
|
|
||||||
check-ram.ps1
|
check-ram.ps1
|
||||||
|
|
||||||
@ -98,4 +98,4 @@ try {
|
|||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-ram.ps1 as of 08/15/2024 09:50:46)*
|
*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)*
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user