mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-07-04 14:40:05 +02:00
Compare commits
188 Commits
Author | SHA1 | Date | |
---|---|---|---|
439fbf5bfa | |||
c24030c909 | |||
99def28e8d | |||
5d4df61edc | |||
5a6fb1d698 | |||
5aa9ba219a | |||
00d11f8866 | |||
c77f271268 | |||
a2681adbf9 | |||
6136ae80f2 | |||
1f51d6ab66 | |||
60cc93dbbd | |||
b7e107ecd6 | |||
76a95bb8ae | |||
bc9a0ab7c0 | |||
deca430aae | |||
f1584f83f3 | |||
79e6e6150f | |||
12a7eedd86 | |||
88f6dbb91d | |||
39bd55443f | |||
35d32e29e1 | |||
036c9a39da | |||
568707d547 | |||
8258e56563 | |||
79376a98ff | |||
571c3b7e49 | |||
30440a72c2 | |||
d6593816c3 | |||
b2c6f7ea22 | |||
6a413827df | |||
230fe23421 | |||
d6071ca2b0 | |||
3721feeaa9 | |||
411756abc6 | |||
b360ab234b | |||
6cd2ea934d | |||
fa466955a4 | |||
443a4b78e7 | |||
fc23927446 | |||
d4c5c03433 | |||
af3c58a541 | |||
85e5dfe8f1 | |||
77081de9db | |||
c3ad18eba7 | |||
725bdcb680 | |||
b845d6459b | |||
5731ff7a5f | |||
af92a2972d | |||
3b3f8db539 | |||
54974f6660 | |||
29bd848405 | |||
b98b638ff1 | |||
adfc40c2cf | |||
9a9d83dfc8 | |||
60c1004a40 | |||
3d64a05c57 | |||
49b70b104d | |||
902f19c64a | |||
f74ab0c771 | |||
a2014996f6 | |||
82a6ca53f4 | |||
bbd9fd4e99 | |||
e192f34821 | |||
11bfd0b886 | |||
fa37a97c92 | |||
598adae9cb | |||
18a6d1fcf5 | |||
75672674a9 | |||
90ed5031d7 | |||
b612c905e2 | |||
4be557732e | |||
b2b539e471 | |||
57b87c4b48 | |||
6ddf3d846c | |||
6cfc31ffd4 | |||
abc5a11989 | |||
ea6ca76eda | |||
05fdf8b99c | |||
ef346ea8bc | |||
a19489235a | |||
c80d48b7d7 | |||
b0caa06e29 | |||
b72f6e6a6e | |||
3ef424ad70 | |||
c9867174cd | |||
5f573540a5 | |||
cb9df2ccf2 | |||
e2eed4e802 | |||
5ca003c8e3 | |||
360947b911 | |||
233864eef0 | |||
81a8082017 | |||
69b8b3ee4e | |||
e08a839e11 | |||
59eb6e5c7b | |||
0878ab8141 | |||
f14995fa28 | |||
4928897fd2 | |||
5bee8b4c11 | |||
098e1e8b57 | |||
d9f5847aed | |||
6132292e2a | |||
2b4fb24678 | |||
245f6330f9 | |||
00d0fb333e | |||
3dba184d19 | |||
04406716db | |||
9ae69818cf | |||
900809ed2d | |||
68093db677 | |||
46c80fcd36 | |||
dddfe0eb80 | |||
c8f6edfe04 | |||
fc8919c7b0 | |||
746825f40f | |||
29bd5ed5c9 | |||
3189a749de | |||
6e05236a99 | |||
aed2b7d940 | |||
c5b5cb1c6e | |||
4de7ec9831 | |||
85b5d2b84f | |||
8e9b84491e | |||
38f047e111 | |||
6c2002649f | |||
34de8863f4 | |||
2df84055fc | |||
4b4ef9c1c4 | |||
a79bb3d0eb | |||
c5b68daf0e | |||
11df9ebbc3 | |||
84d421b0bd | |||
19164caf2b | |||
a3d209e55c | |||
7ee714e3a9 | |||
885abeb385 | |||
513c60d5f9 | |||
a316ad6e27 | |||
1fd0b93746 | |||
714f53a90a | |||
adc7c4b240 | |||
c1104a14af | |||
95e3305c9d | |||
6625d4a909 | |||
9bdbd172f0 | |||
0c34da568f | |||
badf775807 | |||
80a756cf3e | |||
a88ee6031a | |||
edd15f6ebe | |||
680f99568d | |||
adf316dac3 | |||
1bfee19061 | |||
267a4e566c | |||
70e14b26b2 | |||
a9b0fd120d | |||
0537d616ee | |||
c9961fe97d | |||
a573ee7878 | |||
5d11391dc7 | |||
c2ece8db12 | |||
8b5cbd074f | |||
5381e88ced | |||
1e6d5ac3a5 | |||
306cd65327 | |||
67636a8024 | |||
4cc43302c2 | |||
a11c9953b9 | |||
5a5cf939bb | |||
a962e1b8ad | |||
b94c006e94 | |||
ffe8bcc3d7 | |||
0ae669da26 | |||
f89271ce4b | |||
e993d937d6 | |||
7d36c0fb74 | |||
0fe35dcd45 | |||
8ebbc74496 | |||
0bcb9cadf6 | |||
2a886f87d5 | |||
d753e11173 | |||
0c6881f2dc | |||
15f69e32aa | |||
188653a71d | |||
1498b30abf | |||
3a5f2371e3 | |||
97cd42cb86 |
185
README.md
185
README.md
@ -1,15 +1,15 @@
|
||||
Mega Collection of PowerShell Scripts
|
||||
=====================================
|
||||
|
||||
**It includes 500+ useful cross-platform PowerShell scripts located in the 📂[scripts](scripts/) subfolder - for command-line use, 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.**
|
||||
**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.**
|
||||
|
||||
**[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*)
|
||||
|
||||
🔊 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) |
|
||||
| [play-beep-sound.ps1](scripts/play-beep-sound.ps1) | Plays a short beep sound. [Read more »](docs/play-beep-sound.md) |
|
||||
| [play-files.ps1](scripts/play-files.ps1) | Plays the given audio files. [Read more »](docs/play-files.md) |
|
||||
@ -17,12 +17,12 @@ Mega Collection of PowerShell Scripts
|
||||
| [play-imperial-march.ps1](scripts/play-imperial-march.ps1) | Plays the Imperial March (Star Wars). [Read 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-mission-impossible.ps1](scripts/play-mission-impossible.ps1) | Plays the Mission Impossible theme. [Read more »](docs/play-mission-impossible.md)|
|
||||
| [play-m3u.ps1](scripts/play-m3u.ps1) | Plays the given playlist (M3U file format). [Read more »](docs/play-m3u.md) |
|
||||
| [play-mp3.ps1](scripts/play-mp3.ps1) | Plays the given sound file (MP3 file format). [Read more »](docs/play-mp3.md) |
|
||||
| [play-m3u.ps1](scripts/play-m3u.ps1) | Plays the given M3U playlist. [Read 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-super-mario.ps1](scripts/play-super-mario.ps1) | Plays the Super Mario intro. [Read 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) |
|
||||
| [speak-checklist.ps1](scripts/speak-checklist.ps1) | Speaks the given checklist by text-to-speech. [Read more »](docs/speak-checklist.md) |
|
||||
| [speak-countdown.ps1](scripts/speak-countdown.ps1) | Starts 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. [Read 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-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-file.ps1](scripts/speak-file.ps1) | Speaks the content of the given text file by text-to-speech. [Read more »](docs/speak-file.md) |
|
||||
@ -59,7 +59,7 @@ Mega Collection of PowerShell Scripts
|
||||
| [hibernate.ps1](scripts/hibernate.ps1) | Hibernates the local computer immediately. [Read more »](docs/hibernate.md) |
|
||||
| [install-github-cli.ps1](scripts/install-github-cli.ps1) | Installs GitHub CLI. [Read 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) |
|
||||
| [firefox-installer.ps1](scripts/firefox-installer.ps1) | Installs the firefox browser. [Read more »](docs/install-firefox-browser.md) |
|
||||
| [install-firefox.ps1](scripts/install-firefox.ps1) | Installs the Firefox browser. [Read 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-ssh-client.ps1](scripts/install-ssh-client.ps1) | Installs a SSH client (needs admin rights). [Read more »](docs/install-ssh-client.md) |
|
||||
| [install-ssh-server.ps1](scripts/install-ssh-server.ps1) | Installs a SSH server (needs admin rights). [Read more »](docs/install-ssh-server.md) |
|
||||
@ -87,7 +87,7 @@ Mega Collection of PowerShell Scripts
|
||||
| [remove-print-jobs.ps1](scripts/remove-print-jobs.ps1) | Removes all jobs from all printers. [Read more »](docs/remove-print-jobs.md) |
|
||||
| [restart-network-adapters.ps1](scripts/restart-network-adapters.ps1) | Restarts all local network adapters. [Read more »](docs/restart-network-adapters.md)|
|
||||
| [upgrade-ubuntu.ps1](scripts/upgrade-ubuntu.ps1) | Upgrades Ubuntu Linux to the latest (LTS) release. [Read more »](docs/upgrade-ubuntu.md) |
|
||||
| [wake-up.ps1](scripts/wake-up.ps1) | Wakes up a computer using Wake-on-LAN. [Read more »](docs/wakeup.md) |
|
||||
| [wake-up.ps1](scripts/wake-up.ps1) | Wakes up a remote computer using Wake-on-LAN. [Read more »](docs/wakeup.md) |
|
||||
| [windefender.ps1](scripts/windefender.ps1) | Turn Windows Defender on/off/check real time monitoring. [Read more »](docs/windefender.md) |
|
||||
|
||||
|
||||
@ -98,7 +98,7 @@ Mega Collection of PowerShell Scripts
|
||||
| ---------------------------------------------------- | ------------------------------------------------------------------------------------------- |
|
||||
| [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-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. [Read more...](docs/close-chrome.md) |
|
||||
| [close-program.ps1](scripts/close-program.ps1) | Closes the given program gracefully. [Read more...](docs/close-program.md) |
|
||||
| [close-edge.ps1](scripts/close-edge.ps1) | Closes the Edge browser. [Read 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) |
|
||||
@ -115,8 +115,8 @@ Mega Collection of PowerShell Scripts
|
||||
| [close-vlc.ps1](scripts/close-vlc.ps1) | Closes the VLC media player application. [Read 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) |
|
||||
| [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) |
|
||||
| [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-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) |
|
||||
| [list-clipboard.ps1](scripts/list-clipboard.ps1) | Lists the contents of the clipboard. [Read more...](docs/list-clipboard.md) |
|
||||
| [new-email.ps1](scripts/new-email.ps1) | Starts the default email client to write a new email. [Read more...](docs/new-email.md) |
|
||||
| [open-amazon-website.ps1](scripts/open-amazon-website.ps1)| Opens Amazon's website. [Read more...](docs/open-amazon-website.md) |
|
||||
@ -128,96 +128,97 @@ Mega Collection of PowerShell Scripts
|
||||
| [open-edge.ps1](scripts/open-edge.ps1) | Launches the Edge browser. [Read more...](docs/open-edge.md) |
|
||||
| [open-email-client.ps1](scripts/open-browser.ps1) | Starts the default email client. [Read more...](docs/open-email-client.md) |
|
||||
| [open-facebook-website.ps1](scripts/open-facebook-website.ps1)| Opens Facebook's website. [Read more...](docs/open-facebook-website.md) |
|
||||
| [open-file-explorer.ps1](scripts/open-file-explorer.ps1) | Opens the File Explorer. [Read more...](docs/open-file-explorer.md) |
|
||||
| [open-firefox.ps1](scripts/open-firefox.ps1) | Launches the Firefox browser. [Read more...](docs/open-firefox.md) |
|
||||
| [open-fritz-box.ps1](scripts/open-fritz-box.ps1) | Opens FRITZ!Box's web interface. [Read more...](docs/open-fritz-box.md) |
|
||||
| [open-github.ps1](scripts/open-github.ps1) | Opens GitHub's website. [Read more...](docs/open-github.md) |
|
||||
| [open-google-contacts.ps1](scripts/open-google-contacts.ps1) | Opens Google Contacts. [Read more...](docs/open-google-contacts.md) |
|
||||
| [open-google-earth.ps1](scripts/open-google-earth.ps1) | Opens Google Earth. [Read more...](docs/open-google-earth.md) |
|
||||
| [open-google-mail.ps1](scripts/open-google-mail.ps1) | Opens Google Mail. [Read more...](docs/open-google-mail.md) |
|
||||
| [open-google-maps.ps1](scripts/open-google-maps.ps1) | Opens Google Maps. [Read more...](docs/open-google-maps.md) |
|
||||
| [open-google-news.ps1](scripts/open-google-news.ps1) | Opens Google News. [Read more...](docs/open-google-news.md) |
|
||||
| [open-google-play.ps1](scripts/open-google-play.ps1) | Opens Google Play. [Read more...](docs/open-google-play.md) |
|
||||
| [open-google-search.ps1](scripts/open-google-search.ps1) | Opens Google Search. [Read more...](docs/open-google-search.md) |
|
||||
| [open-google-translate.ps1](scripts/open-google-translate.ps1) | Opens Google Translate. [Read more...](docs/open-google-translate.md) |
|
||||
| [open-home-folder.ps1](scripts/open-home-folder.ps1) | Opens the user's home folder. [Read more...](docs/open-home-folder.md) |
|
||||
| [open-music-folder.ps1](scripts/open-music-folder.ps1)| Opens the user's music folder. [Read more...](docs/open-music-folder.md) |
|
||||
| [open-netflix.ps1](scripts/open-netflix.ps1) | Starts the Netflix app. [Read more...](docs/open-netflix.md) |
|
||||
| [open-microsoft-store.ps1](scripts/open-microsoft-store.ps1)| Launches the Microsoft Store app. [Read more...](docs/open-microsoft-store.md) |
|
||||
| [open-notepad.ps1](scripts/open-notepad.ps1) | Starts the Notepad app. [Read more...](docs/open-notepad.md) |
|
||||
| [open-onedrive-folder.ps1](scripts/open-onedrive-folder.ps1)| Opens the user's OneDrive folder. [Read more...](docs/open-onedrive-folder.md) |
|
||||
| [open-pictures-folder.ps1](scripts/open-pictures-folder.ps1) | Opens the user's pictures folder. [Read more...](docs/open-pictures-folder.md) |
|
||||
| [open-recycle-bin.ps1](scripts/open-recycle-bin.ps1) | Opens the user's recycle bin folder. [Read more...](docs/open-recycle-bin.md) |
|
||||
| [open-repos-folder.ps1](scripts/open-repos-folder.ps1) | Opens the user's Git repositories folder. [Read more...](docs/open-repos-folder.md) |
|
||||
| [open-snipping-tool.ps1](scripts/open-snipping-tool.ps1)| Starts the Snipping Tool. [Read more...](docs/open-snipping-tool.md) |
|
||||
| [open-speed-test.ps1](scripts/open-speed-test.ps1) | Opens Cloudflare's speed test. [Read more...](docs/open-speed-test.md) |
|
||||
| [open-spotify.ps1](scripts/open-spotify.ps1) | Opens Spotify. [Read more...](docs/open-spotify.md) |
|
||||
| [open-system-settings.ps1](scripts/open-system-settings.ps1)| Opens the system settings of Windows. [Read more...](docs/open-system-settings.md) |
|
||||
| [open-task-manager.ps1](scripts/open-task-manager.ps1)| Starts the Task Manager. [Read more...](docs/open-task-manager.md) |
|
||||
| [open-videos-folder.ps1](scripts/open-videos-folder.ps1)| Opens the user's videos folder. [Read more...](docs/open-videos-folder.md) |
|
||||
| [open-windows-terminal.ps1](scripts/open-windows-terminal.ps1)| Launches Windows Terminal. [Read more...](docs/open-windows-terminal.md) |
|
||||
| [open-wikipedia-website.ps1](scripts/open-wikipedia-website.ps1)| Opens Wikipedia's website. [Read more...](docs/open-wikipedia-website.md) |
|
||||
| [open-youtube-website.ps1](scripts/open-youtube-website.ps1)| Opens YouTube's website. [Read more...](docs/open-youtube-website.md) |
|
||||
| [remind-me.ps1](scripts/remind-me.ps1) | Creates a scheduled task that will display a popup message. [Read more...](docs/remind-me.md) |
|
||||
| [save-screenshot.ps1](scripts/save-screenshot.ps1) | Saves a single screenshot. [Read more...](docs/save-screenshot.md) |
|
||||
| [set-wallpaper.ps1](scripts/set-wallpaper.ps1) | Sets the given image as wallpaper. [Read more...](docs/set-wallpaper.md) |
|
||||
| [open-file-explorer.ps1](scripts/open-file-explorer.ps1) | Opens the File Explorer. [Read more...](docs/open-file-explorer.md) |
|
||||
| [open-firefox.ps1](scripts/open-firefox.ps1) | Launches the Firefox browser. [Read more...](docs/open-firefox.md) |
|
||||
| [open-fritz-box.ps1](scripts/open-fritz-box.ps1) | Opens FRITZ!Box's web interface. [Read more...](docs/open-fritz-box.md) |
|
||||
| [open-github.ps1](scripts/open-github.ps1) | Opens GitHub's website. [Read more...](docs/open-github.md) |
|
||||
| [open-google-contacts.ps1](scripts/open-google-contacts.ps1) | Opens Google Contacts. [Read more...](docs/open-google-contacts.md) |
|
||||
| [open-google-earth.ps1](scripts/open-google-earth.ps1) | Opens Google Earth. [Read more...](docs/open-google-earth.md) |
|
||||
| [open-google-mail.ps1](scripts/open-google-mail.ps1) | Opens Google Mail. [Read more...](docs/open-google-mail.md) |
|
||||
| [open-google-maps.ps1](scripts/open-google-maps.ps1) | Opens Google Maps. [Read more...](docs/open-google-maps.md) |
|
||||
| [open-google-news.ps1](scripts/open-google-news.ps1) | Opens Google News. [Read more...](docs/open-google-news.md) |
|
||||
| [open-google-play.ps1](scripts/open-google-play.ps1) | Opens Google Play. [Read more...](docs/open-google-play.md) |
|
||||
| [open-google-search.ps1](scripts/open-google-search.ps1) | Opens Google Search. [Read more...](docs/open-google-search.md) |
|
||||
| [open-google-translate.ps1](scripts/open-google-translate.ps1) | Opens Google Translate. [Read more...](docs/open-google-translate.md) |
|
||||
| [open-home-folder.ps1](scripts/open-home-folder.ps1) | Opens the user's home folder. [Read more...](docs/open-home-folder.md) |
|
||||
| [open-music-folder.ps1](scripts/open-music-folder.ps1)| Opens the user's music folder. [Read more...](docs/open-music-folder.md) |
|
||||
| [open-netflix.ps1](scripts/open-netflix.ps1) | Starts the Netflix app. [Read more...](docs/open-netflix.md) |
|
||||
| [open-microsoft-store.ps1](scripts/open-microsoft-store.ps1)| Launches the Microsoft Store app. [Read more...](docs/open-microsoft-store.md) |
|
||||
| [open-notepad.ps1](scripts/open-notepad.ps1) | Starts the Notepad app. [Read more...](docs/open-notepad.md) |
|
||||
| [open-onedrive-folder.ps1](scripts/open-onedrive-folder.ps1)| Opens the user's OneDrive folder. [Read more...](docs/open-onedrive-folder.md) |
|
||||
| [open-pictures-folder.ps1](scripts/open-pictures-folder.ps1) | Opens the user's pictures folder. [Read more...](docs/open-pictures-folder.md) |
|
||||
| [open-recycle-bin.ps1](scripts/open-recycle-bin.ps1) | Opens the user's recycle bin folder. [Read more...](docs/open-recycle-bin.md) |
|
||||
| [open-repos-folder.ps1](scripts/open-repos-folder.ps1) | Opens the user's Git repositories folder. [Read more...](docs/open-repos-folder.md) |
|
||||
| [open-snipping-tool.ps1](scripts/open-snipping-tool.ps1)| Starts the Snipping Tool. [Read more...](docs/open-snipping-tool.md) |
|
||||
| [open-speed-test.ps1](scripts/open-speed-test.ps1) | Opens Cloudflare's speed test. [Read more...](docs/open-speed-test.md) |
|
||||
| [open-spotify.ps1](scripts/open-spotify.ps1) | Opens Spotify. [Read more...](docs/open-spotify.md) |
|
||||
| [open-system-settings.ps1](scripts/open-system-settings.ps1)| Opens the system settings of Windows. [Read more...](docs/open-system-settings.md) |
|
||||
| [open-task-manager.ps1](scripts/open-task-manager.ps1)| Starts the Task Manager. [Read more...](docs/open-task-manager.md) |
|
||||
| [open-videos-folder.ps1](scripts/open-videos-folder.ps1)| Opens the user's videos folder. [Read more...](docs/open-videos-folder.md) |
|
||||
| [open-windows-terminal.ps1](scripts/open-windows-terminal.ps1)| Launches Windows Terminal. [Read more...](docs/open-windows-terminal.md) |
|
||||
| [open-wikipedia-website.ps1](scripts/open-wikipedia-website.ps1)| Opens Wikipedia's website. [Read more...](docs/open-wikipedia-website.md) |
|
||||
| [open-youtube-website.ps1](scripts/open-youtube-website.ps1)| Opens YouTube's website. [Read more...](docs/open-youtube-website.md) |
|
||||
| [remind-me.ps1](scripts/remind-me.ps1) | Creates a scheduled task that will display a popup message. [Read more...](docs/remind-me.md)|
|
||||
| [save-screenshot.ps1](scripts/save-screenshot.ps1) | Saves a single screenshot. [Read more...](docs/save-screenshot.md) |
|
||||
| [set-wallpaper.ps1](scripts/set-wallpaper.ps1) | Sets the given image as wallpaper. [Read more...](docs/set-wallpaper.md) |
|
||||
|
||||
📁 Scripts for Files & Folders
|
||||
-------------------------------
|
||||
|
||||
| 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-docs.ps1](scripts/cd-docs.ps1) | Set the working directory to the user's documents folder. [Read 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-docs.ps1](scripts/cd-docs.ps1) | Set the working directory to the user's documents folder. [Read 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-dropbox.ps1](scripts/cd-dropbox.ps1) | Set the working directory to the user's Dropbox folder. [Read 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-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-pics.ps1](scripts/cd-pics.ps1) | Set the working directory to the user's pictures folder. [Read more...](docs/cd-pics.md) |
|
||||
| [cd-recycle-bin.ps1](scripts/cd-recycle-bin.ps1) | Set the working directory to the user's recycle bin folder. [Read more...](docs/cd-recycle-bin.md) |
|
||||
| [cd-repos.ps1](scripts/cd-repos.ps1) | Change the working directory to the user's Git repositories folder. [Read more...](docs/cd-repos.md) |
|
||||
| [cd-root.ps1](scripts/cd-root.ps1) | Set the working directory to the root directory. [Read more...](docs/cd-root.md) |
|
||||
| [cd-scripts.ps1](scripts/cd-scripts.ps1) | Set the working directory to the PowerShell Scripts folder. [Read more...](docs/cd-scripts.md) |
|
||||
| [cd-ssh.ps1](scripts/cd-ssh.ps1) | Set the working directory to the user's SSH folder. [Read more...](docs/cd-ssh.md) |
|
||||
| [cd-up.ps1](scripts/cd-up.ps1) | Set the working directory to one directory level up. [Read more...](docs/cd-up.md) |
|
||||
| [cd-up2.ps1](scripts/cd-up2.ps1) | Set the working directory to two directory levels up. [Read more...](docs/cd-up2.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-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-pics.ps1](scripts/cd-pics.ps1) | Set the working directory to the user's pictures folder. [Read more...](docs/cd-pics.md) |
|
||||
| [cd-recycle-bin.ps1](scripts/cd-recycle-bin.ps1) | Set the working directory to the user's recycle bin folder. [Read more...](docs/cd-recycle-bin.md) |
|
||||
| [cd-repos.ps1](scripts/cd-repos.ps1) | Change the working directory to the user's Git repositories folder. [Read more...](docs/cd-repos.md)|
|
||||
| [cd-repo.ps1](scripts/cd-repo.ps1) | Change the working directory to the given Git repository folder. [Read more...](docs/cd-repo.md) |
|
||||
| [cd-root.ps1](scripts/cd-root.ps1) | Set the working directory to the root directory. [Read more...](docs/cd-root.md) |
|
||||
| [cd-scripts.ps1](scripts/cd-scripts.ps1) | Set the working directory to the PowerShell Scripts folder. [Read more...](docs/cd-scripts.md) |
|
||||
| [cd-ssh.ps1](scripts/cd-ssh.ps1) | Set the working directory to the user's SSH folder. [Read more...](docs/cd-ssh.md) |
|
||||
| [cd-up.ps1](scripts/cd-up.ps1) | Set the working directory to one directory level up. [Read more...](docs/cd-up.md) |
|
||||
| [cd-up2.ps1](scripts/cd-up2.ps1) | Set the working directory to two directory levels up. [Read more...](docs/cd-up2.md) |
|
||||
| [cd-up3.ps1](scripts/cd-up3.ps1) | Set the working directory to three directory levels up. [Read more...](docs/cd-up3.md) |
|
||||
| [cd-up4.ps1](scripts/cd-up4.ps1) | Set the working directory to four directory levels up. [Read more...](docs/cd-up4.md) |
|
||||
| [cd-videos.ps1](scripts/cd-videos.ps1) | Set the working directory to the user's videos folder. [Read more...](docs/cd-videos.md) |
|
||||
| [check-symlinks.ps1](scripts/check-symlinks.ps1) | Checks every symlink in a directory tree. [Read more...](docs/check-symlinks.md) |
|
||||
| [check-xml-file.ps1](scripts/check-xml-file.ps1) | Checks the given XML file for validity. [Read more...](docs/check-xml-file.md) |
|
||||
| [clear-recycle-bin.ps1](scripts/clear-recycle-bin.ps1) | Removes the content of the recycle bin folder (can not be undo!). [Read more...](docs/clear-recycle-bin.md) |
|
||||
| [copy-photos-sorted.ps1](scripts/copy-photos-sorted.ps1) | Copy image files sorted by year and month. [Read more...](docs/copy-photos-sorted.md) |
|
||||
| [decrypt-file.ps1](scripts/decrypt-file.ps1) | Decrypts the given file. [Read more...](docs/decrypt-file.md) |
|
||||
| [download-dir.ps1](scripts/download-dir.ps1) | Downloads a directory tree from the given URL. [Read more...](docs/download-dir.md) |
|
||||
| [download-file.ps1](scripts/download-file.ps1) | Downloads a file from the given URL. [Read more...](docs/download-file.md) |
|
||||
| [edit.ps1](scripts/edit.ps1) | Edits the given file with the built-in text editor. [Read more...](docs/edit.md) |
|
||||
| [encrypt-file.ps1](scripts/encrypt-file.ps1) | Encrypts the given file. [Read more...](docs/encrypt-file.md) |
|
||||
| [get-md5.ps1](scripts/get-md5.ps1) | Prints the MD5 checksum of the given file. [Read more...](docs/get-md5.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) |
|
||||
| [inspect-exe.ps1](scripts/inspect-exe.ps1) | Prints basic information of the given executable file. [Read more...](docs/inspect-exe.md) |
|
||||
| [list-dir-tree.ps1](scripts/list-dir-tree.ps1) | Lists the directory tree content. [Read more...](docs/list-dir-treep.md) |
|
||||
| [cd-up4.ps1](scripts/cd-up4.ps1) | Set the working directory to four directory levels up. [Read more...](docs/cd-up4.md) |
|
||||
| [cd-videos.ps1](scripts/cd-videos.ps1) | Set the working directory to the user's videos folder. [Read more...](docs/cd-videos.md) |
|
||||
| [check-symlinks.ps1](scripts/check-symlinks.ps1) | Checks every symlink in a directory tree. [Read more...](docs/check-symlinks.md) |
|
||||
| [check-xml-file.ps1](scripts/check-xml-file.ps1) | Checks the given XML file for validity. [Read more...](docs/check-xml-file.md) |
|
||||
| [clear-recycle-bin.ps1](scripts/clear-recycle-bin.ps1) | Removes the content of the recycle bin folder (can not be undo!). [Read more...](docs/clear-recycle-bin.md)|
|
||||
| [copy-photos-sorted.ps1](scripts/copy-photos-sorted.ps1) | Copy image files sorted by year and month. [Read more...](docs/copy-photos-sorted.md) |
|
||||
| [decrypt-file.ps1](scripts/decrypt-file.ps1) | Decrypts the given file. [Read more...](docs/decrypt-file.md) |
|
||||
| [download-dir.ps1](scripts/download-dir.ps1) | Downloads a directory tree from the given URL. [Read more...](docs/download-dir.md) |
|
||||
| [download-file.ps1](scripts/download-file.ps1) | Downloads a file from the given URL. [Read more...](docs/download-file.md) |
|
||||
| [edit.ps1](scripts/edit.ps1) | Edits the given file with the built-in text editor. [Read more...](docs/edit.md) |
|
||||
| [encrypt-file.ps1](scripts/encrypt-file.ps1) | Encrypts the given file. [Read more...](docs/encrypt-file.md) |
|
||||
| [get-md5.ps1](scripts/get-md5.ps1) | Prints the MD5 checksum of the given file. [Read more...](docs/get-md5.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) |
|
||||
| [inspect-exe.ps1](scripts/inspect-exe.ps1) | Prints basic information of the given executable file. [Read more...](docs/inspect-exe.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-files.ps1](scripts/list-empty-files.ps1) | Lists empty files within the given directory tree. [Read more...](docs/list-empty-files.md) |
|
||||
| [list-files.ps1](scripts/list-files.ps1) | Lists all files in the given folder and also in every subfolder. [Read more...](docs/list-files.md) |
|
||||
| [list-folder.ps1](scripts/list-folder.ps1) | Lists the folder content. [Read more...](docs/list-folder.md) |
|
||||
| [list-hidden-files.ps1](scripts/list-hidden-files.ps1) | Lists hidden files within the given directory tree. [Read more...](docs/list-hidden-files.md) |
|
||||
| [list-recycle-bin.ps1](scripts/list-recycle-bin.ps1) | Lists the content of the recycle bin folder. [Read more...](docs/list-recycle-bin.md) |
|
||||
| [list-unused-files.ps1](scripts/list-unused-files.ps1) | Lists unused files in a directory tree. [Read more...](docs/list-unused-files.md) |
|
||||
| [list-workdir.ps1](scripts/list-workdir.ps1) | Lists the current working directory. [Read more...](docs/list-workdir.md) |
|
||||
| [make-install.ps1](scripts/make-install.ps1) | Installs built executables and libs to the installation directory. [Read more...](docs/make-install.md) |
|
||||
| [new-shortcut.ps1](scripts/new-shortcut.ps1) | Creates a new shortcut file. [Read more...](docs/new-shortcut.md) |
|
||||
| [new-symlink.ps1](scripts/new-symlink.ps1) | Creates a new symbolic link file. [Read more...](docs/new-symlink.md) |
|
||||
| [new-zipfile.ps1](scripts/new-zipfile.ps1) | Creates a new .zip file from a directory. [Read more...](docs/new-zipfile.md) |
|
||||
| [publish-to-ipfs.ps1](scripts/publish-to-ipfs.ps1) | Publishes the given files or directory to IPFS. [Read more...](docs/publish-to-ipfs.md) |
|
||||
| [remove-empty-dirs.ps1](scripts/remove-empty-dirs.ps1) | Removes empty subfolders within the given directory tree. [Read more...](docs/remove-empty-dirs.md) |
|
||||
| [replace-in-files.ps1](scripts/replace-in-files.ps1) | Search and replace a pattern in the given files by the replacement. [Read more...](docs/replace-in-files.md) |
|
||||
| [search-filename.ps1](scripts/search-filename.ps1) | Searches the directory tree for filenames by given pattern. [Read more...](docs/search-filename.md) |
|
||||
| [search-files.ps1](scripts/search-files.ps1) | Searches the given pattern in the given files. [Read more...](docs/search-files.md) |
|
||||
| [upload-file.ps1](scripts/upload-file.ps1) | Uploads the local file to the given FTP server. [Read more...](docs/upload-file.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-files.ps1](scripts/list-files.ps1) | Lists all files in the given folder and also in every subfolder. [Read more...](docs/list-files.md) |
|
||||
| [list-folder.ps1](scripts/list-folder.ps1) | Lists the folder content. [Read more...](docs/list-folder.md) |
|
||||
| [list-hidden-files.ps1](scripts/list-hidden-files.ps1) | Lists hidden files within the given directory tree. [Read more...](docs/list-hidden-files.md) |
|
||||
| [list-recycle-bin.ps1](scripts/list-recycle-bin.ps1) | Lists the content of the recycle bin folder. [Read more...](docs/list-recycle-bin.md) |
|
||||
| [list-unused-files.ps1](scripts/list-unused-files.ps1) | Lists unused files in a directory tree. [Read more...](docs/list-unused-files.md) |
|
||||
| [list-workdir.ps1](scripts/list-workdir.ps1) | Lists the current working directory. [Read more...](docs/list-workdir.md) |
|
||||
| [make-install.ps1](scripts/make-install.ps1) | Installs built executables and libs to the installation directory. [Read more...](docs/make-install.md)|
|
||||
| [new-shortcut.ps1](scripts/new-shortcut.ps1) | Creates a new shortcut file. [Read more...](docs/new-shortcut.md) |
|
||||
| [new-symlink.ps1](scripts/new-symlink.ps1) | Creates a new symbolic link file. [Read more...](docs/new-symlink.md) |
|
||||
| [new-zipfile.ps1](scripts/new-zipfile.ps1) | Creates a new .zip file from a directory. [Read more...](docs/new-zipfile.md) |
|
||||
| [publish-to-ipfs.ps1](scripts/publish-to-ipfs.ps1) | Publishes the given files or directory to IPFS. [Read more...](docs/publish-to-ipfs.md) |
|
||||
| [remove-empty-dirs.ps1](scripts/remove-empty-dirs.ps1) | Removes empty subfolders within the given directory tree. [Read more...](docs/remove-empty-dirs.md)|
|
||||
| [replace-in-files.ps1](scripts/replace-in-files.ps1) | Search and replace a pattern in the given files by the replacement. [Read more...](docs/replace-in-files.md)|
|
||||
| [search-filename.ps1](scripts/search-filename.ps1) | Searches the directory tree for filenames by given pattern. [Read more...](docs/search-filename.md) |
|
||||
| [search-files.ps1](scripts/search-files.ps1) | Searches the given pattern in the given files. [Read more...](docs/search-files.md) |
|
||||
| [upload-file.ps1](scripts/upload-file.ps1) | Uploads the local file to the given FTP server. [Read more...](docs/upload-file.md) |
|
||||
|
||||
♻️ Scripts to Convert Files
|
||||
---------------------------
|
||||
|
@ -2,6 +2,7 @@ APPLICATION, CATEGORY, APPID,
|
||||
"7-Zip", "file utility", "7zip.7zip",
|
||||
"Aquile Reader", "ebook reader", "9P08T4JLTQNK",
|
||||
"CrystalDiskInfo", "HDD/SSD utility", "XP8K4RGX25G3GM",
|
||||
"CMake", "build utility", "Kitware.CMake",
|
||||
"Dopamine", "audio player", "Digimezzo.Dopamine.2",
|
||||
"Dropbox", "file sync", "Dropbox.Dropbox",
|
||||
"Git Extensions", "Git client", "GitExtensionsTeam.GitExtensions",
|
||||
|
|
@ -1,4 +1,4 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
AAA,Anaa
|
||||
AAB,Arrabury Airport
|
||||
AAC,El Arish International Airport
|
|
@ -1,4 +1,4 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
00A,Total Rf Heliport (USA)
|
||||
00AA,Aero B Ranch Airport (USA)
|
||||
00AK,Lowell Field (USA)
|
Can't render this file because it is too large.
|
@ -1,4 +1,4 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
A000,"Cholera due to Vibrio cholerae 01, biovar cholerae"
|
||||
A001,"Cholera due to Vibrio cholerae 01, biovar eltor"
|
||||
A009,"Cholera, unspecified"
|
Can't render this file because it is too large.
|
@ -1,4 +1,4 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
AF,Afghanistan
|
||||
AX,Åland Islands
|
||||
AL,Albania
|
|
@ -1,4 +1,4 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
AED,United Arab Emirates dirham
|
||||
AFN,Afghan afghani
|
||||
ALL,Albanian lek
|
|
@ -1,4 +1,4 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
aa,Afar
|
||||
ab,Abkhazian
|
||||
ae,Avestan
|
|
@ -1,4 +1,4 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
quetta,"10^30"
|
||||
Q,"10^30"
|
||||
ronna,"10^27"
|
|
@ -1,4 +1,4 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
21CSLC,21st Century Space Launch Complex
|
||||
4LGSF,Four-Laser Guide Star Facility
|
||||
4MOST,4-metre Multi-Object Spectroscopic Telescope (Proposed new spectroscopic instrument for VISTA)
|
||||
@ -281,7 +281,6 @@ NACO,NAOS-CONICA (VLT)
|
||||
NAOJ,National Astronomical Observatory of Japan
|
||||
NAOMI,Adaptive optics system for the ATs (VLTI)
|
||||
NAOS,Nasmyth Adaptive Optics System (VLT)
|
||||
NASA,National Aeronautics and Space Administration
|
||||
NAV,Navision
|
||||
NDF,Non-Deliverable Forward Agreement
|
||||
NEAR,New Earths in the Alpha Cen Region experiment
|
|
@ -1,4 +1,4 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
3P,"Perceive, Process, Perform"
|
||||
5P,"Plan, Plane, Pilot, Passengers, Programming"
|
||||
7500,"Transponder code for Aircraft hijacking (ICAO)"
|
||||
@ -140,6 +140,7 @@ ARINC,Aeronautical Radio, Inc. (USA)
|
||||
ARLNO,Airline Office
|
||||
ARP,Airport Reference Point
|
||||
ARTCC,Air Route Traffic Control Centre
|
||||
ASACS,Air Surveillance and Control System
|
||||
ASB,Airspace Block
|
||||
ASDA,Accelerate Stop Distance Available
|
||||
ASDE,Airport Surface Detection Equipment
|
||||
@ -319,6 +320,7 @@ IGLR,Integrated Ground Lighting and Radar
|
||||
ILS,Instrument Landing System
|
||||
ISA,International Standard Atmosphere
|
||||
IMC,Instrument Meteorological Conditions
|
||||
JTAC,Joint Terminal Attack Control
|
||||
KAT,Kaufbeuren ATM Training (DFS subcompany)
|
||||
KCAS,Calibrated AirSpeed in Knots
|
||||
KIAS,Indicated Airspeed in Knots
|
||||
@ -368,6 +370,7 @@ OGE,Out of Ground Effect
|
||||
OFZ,Obstacle Free Zone
|
||||
OJT,On the Job Training
|
||||
OODA,"Observation, Orientation, Decision, and Action"
|
||||
OSC,On Scene Commander
|
||||
PA,Pressure Altitude
|
||||
PADS,Parallax Aircraft Docking System
|
||||
PAPA,"Parallax Aircraft Parking Aid (docking system)"
|
||||
@ -397,7 +400,7 @@ RB,Relative Bearing
|
||||
RBI,Relative Bearing Indicator
|
||||
RBAF,Royal Belgium Armed Forces
|
||||
RCAF,Royal Canadian Air Force
|
||||
RCC,Rescue Co-ordination Centre
|
||||
RCC,Rescue Coordination Center
|
||||
RCL,Runway Centre Line Lighting
|
||||
RCR,Runway Condition Reading
|
||||
RCS,Radar Cross Section
|
||||
@ -421,7 +424,8 @@ RRPM,Rotor Rotations per Minute
|
||||
RSA,Runway Safety Area
|
||||
RSAF,Republic of Singapore Air Force
|
||||
RSC,Runway Surface Condition
|
||||
RSI,Remote Status Indicato
|
||||
RSI,Remote Status Indicator
|
||||
RSO,Range Safety Officer
|
||||
RSRS,Reduced Same Runway Separation
|
||||
RTCA,Radio Technical Commission for Aeronautics
|
||||
RVR,Runway Visual Range
|
||||
@ -462,6 +466,7 @@ SM,Statute Mile
|
||||
SMR,Surface Movement Radar
|
||||
SOF,Supervisor of Flying
|
||||
SOW,Statement of Work
|
||||
SRA,Surveillance Radar Approach
|
||||
SRC,Safety Regulation Commission (EUROCONTROL)
|
||||
SRU,Safety Regulation Unit (EUROCONTROL)
|
||||
SSR,Secondary Surveillance Radar
|
Can't render this file because it has a wrong number of fields in line 139.
|
@ -1,4 +1,4 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
GPT,"glutamate pyruvate transaminase, or Goniopora toxin"
|
||||
Leo,an American Quarter Horse
|
||||
Leo,"Leonberger, a breed of dog"
|
|
@ -1,4 +1,4 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
A,Atom
|
||||
a,atto prefix (10-18)
|
||||
AA,Acetic Acid
|
|
@ -1,4 +1,4 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
Air Force Blue (RAF),RGB #5d8aa8
|
||||
Air Force Blue (USAF),RGB #00308f
|
||||
Air Superiority Blue,RGB #72a0c1
|
|
@ -1,3 +1,3 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
GPT,"GEC Plessey Telecommunications (a defunct British telecommunications manufacturer) or GPT Group (an Australian property investment company)"
|
||||
IAS,"International Automated Systems (an American company), IAS Limited (an Australian-based gambling company)"
|
|
@ -1,4 +1,4 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
.7z,Common filename extension for archive files in 7z format
|
||||
.bat,Common filename extension for Batch script files
|
||||
.bz2,Common filename extension for archive files in bzip2 format
|
||||
@ -93,15 +93,13 @@ ABAP,Advanced Business Application Programming
|
||||
ABB,activity-based budgeting
|
||||
ABBH,average bouncing busy hour
|
||||
abC,abcoulomb
|
||||
ABC,activity-based costing
|
||||
ABC,Atanasoff-Berry Computer
|
||||
ABC,"activity-based costing, Atanasoff-Berry Computer"
|
||||
abend,abnormal end
|
||||
abF,abfarad
|
||||
abH,abhenry
|
||||
ABIOS,Advanced BIOS
|
||||
ABM,activity-based management
|
||||
ABP,AdBlock Plus
|
||||
ABP,Microsoft Exchange Address Book Policy
|
||||
ABP,"AdBlock Plus, Microsoft Exchange Address Book Policy"
|
||||
ABR,"AutoBaud Rate or Available Bit Rate"
|
||||
abS,absiemens
|
||||
abV,abvolt
|
||||
@ -115,15 +113,13 @@ ACE,Access Control Entry
|
||||
ACeS,Asia Cellular Satellite System
|
||||
ACF2,Access Control Facility
|
||||
ACH,Automated Clearing House
|
||||
ACH,fraud Automated Clearing House fraud
|
||||
ACID,"Atomicity, Consistency, Isolation, Durability"
|
||||
Ack,Acknowledgement
|
||||
ACL,Access Control List
|
||||
ACM,Association for Computing Machinery
|
||||
ACO,accountable care organization
|
||||
ACPI,Advanced Configuration and Power Interface
|
||||
ACR,Absolute Cell Reference
|
||||
ACR,attenuation-to-crosstalk ratio
|
||||
ACR,"Absolute Cell Reference, attenuation-to-crosstalk ratio"
|
||||
ACT,Application Compatibility Toolkit
|
||||
ACTA,America's Carriers Telecommunications Association
|
||||
ACTS,Automatic Coin Telephone System
|
||||
@ -131,8 +127,7 @@ ACV,all commodity volume
|
||||
AD,Active Directory
|
||||
ADAT,Alesis Digital Audio Tape
|
||||
ADatP,Automated Data Processing
|
||||
ADC,Analog-to-Digital Converter
|
||||
ADC,automated data collection
|
||||
ADC,"Analog-to-Digital Converter, automated data collection"
|
||||
ADE,qutomated data entry
|
||||
ADF,Automatic Document Feeder
|
||||
ADO,ActiveX Data Objects
|
||||
@ -148,8 +143,7 @@ AF,audio frequency
|
||||
AFC,antiferromagnetically-coupled
|
||||
AFIS,Automated Fingerprint Identification System
|
||||
AFM,atomic force microscopy
|
||||
AFP,Advanced Function Printing
|
||||
AFP,Apple Filing Protocol
|
||||
AFP,"Advanced Function Printing, Apple Filing Protocol"
|
||||
AFS,Andrew file system
|
||||
aglet,agile applet
|
||||
AGP,Accelerated Graphics Port
|
||||
@ -180,14 +174,11 @@ alt.,alternate newsgroup
|
||||
ALU,Arithmetic Logic Unit
|
||||
AMD,Advanced Micro Devices
|
||||
AMD-V,AMD virtualization
|
||||
AMI,advanced metering infrastructure
|
||||
AMI,Amazon Machine Image
|
||||
AMI,"advanced metering infrastructure, Amazon Machine Image"
|
||||
AMIA,American Medical Informatics Association
|
||||
AML,anti-money laundering software
|
||||
AMPS,Advanced Mobile Phone Service
|
||||
AMR,ambulatory medical record
|
||||
AMR,Audio/Modem Riser or AMR slot
|
||||
AMR,automated meter reading
|
||||
AMR,"ambulatory medical record, Audio/Modem Riser, AMR slot, automated meter reading"
|
||||
AMT,advanced manufacturing technology
|
||||
AMTOR,amateur teleprinting over radio
|
||||
ANI,Automatic Number Identification
|
||||
@ -197,8 +188,7 @@ AoE,ATA over Ethernet
|
||||
AOI,automated optical inspection
|
||||
AOP,aspect-oriented programming
|
||||
AOSP,Android Open Source Project
|
||||
AP,accounts payable
|
||||
AP,Adaptive Planning
|
||||
AP,"accounts payable,Adaptive Planning"
|
||||
Apache Hadoop YARN,Yet Another Resource Negotiator
|
||||
APAR,authorized program analysis report
|
||||
API,Application Programming Interface
|
||||
@ -1611,7 +1601,7 @@ LIDB,line information database
|
||||
LILO,LInux LOader
|
||||
LINQ,Language Integrated Query
|
||||
LISP,list processing
|
||||
LLM,large language model
|
||||
LLM,Large Language Model
|
||||
LLVM,Compiler Infrastructure (Low Level Virtual Machine)
|
||||
LMDS,Local Multi-Point Distribution System
|
||||
LMGTFY,Let Me Google That For You
|
||||
@ -2132,33 +2122,32 @@ RA,registration authority
|
||||
RAC,Real Application Cluster
|
||||
RACE,Rapid Access Computing Environment
|
||||
RACF,Resource Access Control Facility
|
||||
RAD,rapid application development
|
||||
RAD,Rapid Application Development
|
||||
RADIUS,Remote Authentication Dial-In User Service
|
||||
RAF,risk assessment framework
|
||||
RAID,redundant array of independent disks
|
||||
RAF,Risk Assessment Framework
|
||||
RAG,Retrieval Augmented Generation
|
||||
RAID,Redundant Array of Independent Disks
|
||||
RAIN,redundant/reliable array of inexpensive/independent nodes
|
||||
RAM,Random Access Memory
|
||||
RAMAC,random access method of accounting and control
|
||||
RAMDAC,random access memory digital-to-analog converter
|
||||
RAMAC,Random Access Method of Accounting and Control
|
||||
RAMDAC,Random Access Memory dDgital-to-analog Converter
|
||||
RAND,reasonable and nondiscriminatory
|
||||
RAP,Revenue Acquisition Process
|
||||
RARP,Reverse Address Resolution Protocol
|
||||
RAS,"registration, admission, and status"
|
||||
RAS,"Reliability, Availability and Serviceability"
|
||||
RAS,"Remote Access Server, row address strobe"
|
||||
RAT,remote access Trojan
|
||||
RBA,risk-based authentication
|
||||
RBAC,role-based access control
|
||||
RBOC,regional Bell operating company
|
||||
RCE,remote code execution
|
||||
RAS,"Registration,Admission and Status, or Reliability,Availability and Serviceability, or Remote Access Server, row address strobe"
|
||||
RAT,Remote Access Trojan
|
||||
RBA,Risk-Based Authentication
|
||||
RBAC,Role-Based Access Control
|
||||
RBOC,Regional Bell Operating Company
|
||||
RCE,Remote Code Execution
|
||||
RCP,Rich Client Platform
|
||||
RD,running disparity
|
||||
RDBMS,relational database management system
|
||||
RDC,remote deposit capture
|
||||
RD,Running Disparity
|
||||
RDBMS,Relational DataBase Management System
|
||||
RDC,Remote Deposit Capture
|
||||
RDF,Resource Description Framework
|
||||
RDM,raw device mapping
|
||||
RDM,Raw Device Mapping
|
||||
RDMA,Remote Direct Memory Access
|
||||
rDNS,reverse DNS
|
||||
rDNS,Reverse DNS
|
||||
RDO,Remote Data Objects
|
||||
RDP,Remote Desktop Protocol
|
||||
RDRAM,Rambus Dynamic Random Access Memory
|
||||
@ -2169,39 +2158,35 @@ RDT&E,"Research, Development, Testing & Evaluation"
|
||||
REC,Regional Extension Center
|
||||
ReFS,Resilient File System
|
||||
regex,regular expression
|
||||
REST,representational state transfer
|
||||
RF,radio frequency
|
||||
REST,REpresentational State Transfer
|
||||
RF,Radio Frequency
|
||||
RFC,Remote Function Call
|
||||
RFC,Request for Comments
|
||||
RFI,request for information
|
||||
RFID,radio frequency identification
|
||||
RFID,Radio Frequency IDentification
|
||||
RFO,Request for Offer
|
||||
RFP,request for proposal
|
||||
RFQ,request for quotation
|
||||
RFP,Request for Proposal
|
||||
RFQ,Request for Quotation
|
||||
RFR,Red Flags Rule
|
||||
RGB,"red, green, and blue"
|
||||
RHCVA,Red Hat Certified Virtualization Administrator
|
||||
RHEL,Red Hat Enterprise Linux
|
||||
RHEV,Red Hat Enterprise Virtualization
|
||||
RHIA,registered health information administrator
|
||||
RHIA,Registered Health Information Administrator
|
||||
RHIO,Regional Health Information Organization
|
||||
RHIT,registered health information technician
|
||||
RHIT,Registered Health Information Technician
|
||||
RHS,Red Hat Storage
|
||||
RIA,Rich Internet Application
|
||||
RIAA,Recording Industry Association of America
|
||||
RIBLOE,Remote Insight Board -- Lights Out Edition
|
||||
RID,relative identifier
|
||||
RIM,records information management
|
||||
RIM,Reference Information Model
|
||||
RIP,Raster Image Processor
|
||||
RIP,Routing Information Protocol
|
||||
RID,Relative IDentifier
|
||||
RIM,"Records Information Management, or: Reference Information Model"
|
||||
RIP,"Raster Image Processor, or: Routing Information Protocol"
|
||||
RIR,Regional Internet Registry
|
||||
RIS,Radiology Information System
|
||||
RIS,Remote Installation Service
|
||||
RIS,"Radiology Information System, or: Remote Installation Service"
|
||||
RISC,Reduced Instruction Set Computer
|
||||
RJE,Remote Job Entry
|
||||
RMA,Return Material (or Merchandise) Authorization
|
||||
RMA,return merchandise authorization
|
||||
RMI,Remote Method Invocation
|
||||
RMM,Remote Monitoring & Management
|
||||
RMON,Remote Network Monitoring
|
|
@ -1,4 +1,4 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
btl,Bottle
|
||||
c,Cup
|
||||
C,Cups
|
|
54556
data/dicts/english_dictionary.csv
Normal file
54556
data/dicts/english_dictionary.csv
Normal file
File diff suppressed because it is too large
Load Diff
@ -1,4 +1,4 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
A-CVA,Advanced Credit Valuation Adjustment
|
||||
ABoR,Administrative Board of Review
|
||||
ABS,Asset-Backed Security
|
|
@ -1,4 +1,4 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
e.g.,"'exempli gratia' in Latin, meaning: 'for example'"
|
||||
0D,obvious deed
|
||||
1AM,Air Mechanic 1st Class
|
||||
@ -93,6 +93,7 @@ aC,Attocoulomb
|
||||
AC1,Aircraftman 1st Class
|
||||
AC2,Aircraftman 2nd Class
|
||||
ACA,"Affordable Care Act,shorthand for the Patient Protection and Affordable Care Act,commonly called 'Obamacare',Airspace Control Authority,Airspace Co-ordination Area,A Current Affair"
|
||||
ACAB,All cops are bastards
|
||||
ACARS,Aircraft Communications Addressing and Reporting System
|
||||
ACAS,Aboriginal Children's Advancement Society,Advisory,Conciliation and Arbitration Service
|
||||
ACB,"Asociación de Clubes de Baloncesto (Spanish for 'Association of Basketball Clubs')"
|
||||
@ -789,7 +790,7 @@ CHRS,Canadian Heart Rhythm Society
|
||||
CHT,Certified Hand Therapist
|
||||
CI,"Côte d'Ivoire (ISO 3166 digram),Counter-Intelligence,101 (in Roman numerals)"
|
||||
Ci,Curie
|
||||
CIA,"U.S. Central Intelligence Agency, Cairo International Airport, Culinary Institute of America"
|
||||
CIA,"Cairo International Airport, Culinary Institute of America"
|
||||
CIAO,"Critical Infrastructure Assurance Office,Component-Integrated ACE ORB"
|
||||
CIB,Complete In Box (Internet auction/trading listings)
|
||||
CIBC,Canadian Imperial Bank of Commerce
|
||||
@ -1286,7 +1287,7 @@ ECCM,Electronic Counter-Counter-Measures
|
||||
ECFS,Electronic Case Filing System
|
||||
ECG,Electrocardiogram
|
||||
ECHO,Each Community Helps Others (EPA programme),Educational Concerns for Hunger Organization,European Commission Host Organization,European Commission Humanitarian aid Office,Exchange Clearing House,Expanded Characteristic Option,Explanatory Coherence by Harmony Optimization
|
||||
ECHR,European Convention on Human Rights
|
||||
ECHR,European Court on Human Rights
|
||||
ECJ,European Court of Justice
|
||||
ECL,Emitter Coupled Logic (electronics)
|
||||
ECM,Electronic Counter-Measures,Enterprise Content Management
|
||||
@ -2699,6 +2700,7 @@ LOA,Limit Of Advance
|
||||
LOC,"Level of Operational Capability, Limited Operational Capability"
|
||||
LOD,"Limit of Detection,see Detection limit"
|
||||
LoD,Lines of Development (UK)
|
||||
LOE,Level of Effort
|
||||
LOFAR,Low Frequency Analysis and Recording
|
||||
LOGPAC,Logistics Package
|
||||
LOL,Laughing Out Loud (Internet shorthand)
|
||||
@ -3412,7 +3414,7 @@ NRU,Nauru (ISO 3166 trigram)
|
||||
ns,Nanosecond
|
||||
nS,Nanosiemens
|
||||
NS,"Norfolk Southern Railway (AAR reporting mark),Nova Scotia (postal symbol),Suriname (FIPS 10-4 country code)"
|
||||
NSA,"U.S. National Security Agency,Naval Support Activity,No Strings Attached"
|
||||
NSA,"Naval Support Activity,No Strings Attached"
|
||||
NSABB,National Science Advisory Board for Biosecurity
|
||||
NSAID,Non-Steroidal Anti-Inflammatory Drug
|
||||
NSB,Norges Statsbaner (Norwegian State Railways)
|
||||
@ -4273,6 +4275,7 @@ SH,Saint Helena (ISO 3166 digram),SONATRACH (Algerian petroleum company)
|
||||
SHAC,Stop Huntingdon Animal Cruelty,Student Health Action Coalition,SHAPE — Supreme Headquarters Allied Powers Europe,SHF — Super High Frequency,SHN — Saint Helena (ISO 3166 trigram)
|
||||
SHO,Showtime (see also sho.com)
|
||||
SI,Slovenia (ISO 3166 and FIPS 10-4 country code digram),Socialist International,Sports Illustrated,Système International (French,International System of Units),SIA — Singapore Airlines (ICAO code),SIA — Survivors of Incest Anonymous,SIAM — Society for Industrial and Applied Mathematics,SIC — Standard Industrial Classification,SICS — Swedish Institute of Computer Science,SIDS — Sudden infant death syndrome,SIDU — select,insert,delete,update. See Create,read,update and delete,SIF — Selective Identification Feature,SIFF — Successor IFF
|
||||
sic,sic erat scriptum (Latin for 'thus was it written')
|
||||
SIG,Schweizerische Industrie Gesellschaft (German,"Swiss Industry Company"). See also SIG Sauer,a firearms manufacturer spun off from the aforementioned company in 2000.,.signature (UNIX shell/Internet standard file name), Special Interest Group,SIGCAT — Special Interest Group for CD-ROM Applications and Technology,SIGINT — Signals Intelligence,SIGMET — Significant Meteorological Information
|
||||
SIIT,Saskatchewan Indian Institute of Technologies (Canadian university),Sirindhorn International Institute of Technology (Thai university),Stateless IP/ICMP Translation algorithm,SIMAC — Semantic Interaction with Music Audio Contents,SIMLAS — Soldier Integrated Multipurpose Laser System,SIMM — Single In-line Memory Module,SIMNET — SIMulator NETwork,later SIMulation NETwork,SIMNET-D,SIMNET-Developmental,SIMP — Strongly Interacting Massive Particle
|
||||
SIP,Session Initiation Protocol,State Implementation Plan,System Improvement Program,Systematic Investment Plan,SIPP — Self-Invested Personal Pension
|
||||
@ -4711,9 +4714,7 @@ USGS,United States Geological Survey
|
||||
USIA,United States Information Agency
|
||||
USJFCOM,United States Joint Forces Command
|
||||
USL,"United Soccer League,a third-level U.S. league. Not to be confused with an earlier league of the same name.,United Soccer Leagues,the organization that operates the above league,plus several other lower-level leagues,University of Southwestern Louisiana,a former name for the school now known as the University of Louisiana at Lafayette"
|
||||
USMC,United States Marine Corps
|
||||
USMNT,United States men's national (soccer) team
|
||||
USN,United States Navy
|
||||
USNA,"United States National Arboretum,United States Naval Academy"
|
||||
USNB,United States Naval Base
|
||||
USNG,United States National Grid
|
Can't render this file because it has a wrong number of fields in line 8.
|
@ -1,4 +1,4 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
0DG,Zero Degrees Parallel
|
||||
AAGIS,Ann Arbor Geographic Information System
|
||||
AGS,Applied Geographic Solutions
|
|
@ -1,3 +1,3 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
XX,The Roman numeral for twenty (20)
|
||||
XXX,The Roman numeral for thirty (30)
|
|
@ -1,4 +1,4 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
AC,"Axiom of Choice, or set of absolutely continuous functions"
|
||||
a.c.,absolutely continuous
|
||||
acrd,inverse chord function
|
|
@ -1,4 +1,4 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
CAT,Computer-Assisted (or Axial) Tomography
|
||||
CDC,"(U.S.) Centers for Disease Control and Prevention; previously known as the Communicable Disease Center"
|
||||
CPR,cardiopulmonary resuscitation
|
|
@ -1,4 +1,4 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
AA,Air-to-Air
|
||||
AA,Anti-Aircraft
|
||||
AAA,Anti-Aircraft Artillery
|
||||
@ -435,6 +435,7 @@ MAAP,Master Air Attack Plan
|
||||
MAC,Military Airlift Command
|
||||
MACH,Measure of Airspeed (Mach 1 = 1,223 kph/760 mph at sea level)
|
||||
MAD,Magnetic Anomaly Detector
|
||||
MADIS,Marine Air Defense Integrated System
|
||||
MAJ,Major
|
||||
MAP,Medical Advisory Panel
|
||||
MAP,Military Assistance Program
|
Can't render this file because it has a wrong number of fields in line 63.
|
@ -1,4 +1,4 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
8va,Octave up
|
||||
ABBA,"A swedish pop band consisting of Agnetha, Benny, Björn, and Anni-Frid"
|
||||
ACDC,An australian rock band
|
|
@ -1,10 +1,8 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
3M,The Minnesota Mining and Manufacturing Company
|
||||
A&W,Allen and Wright (founders Roy Allen and Frank Wright)
|
||||
AATF,"American Association of Teachers of French, or: African Agricultural Technology Foundation"
|
||||
ABC,American Broadcasting Corporation
|
||||
ABC,Associated British Corporation
|
||||
ABC,Australian Broadcasting Corporation
|
||||
ABC,"American Broadcasting Corporation, Associated British Corporation, Australian Broadcasting Corporation"
|
||||
ACLU,American Civil Liberties Union
|
||||
ADB,Asian Development Bank
|
||||
AIIB,Asian Infrastructure Investment Bank
|
||||
@ -15,6 +13,8 @@ BMW, Bavarian Motor Works
|
||||
BND,Bundesnachrichtendienst (Germany)
|
||||
BVD, Bradley, Voorhees, and Day
|
||||
CERN,European Organization for Nuclear Research
|
||||
CIA,U.S. Central Intelligence Agency
|
||||
CPUC,California Public Utilities Commission
|
||||
DOC,U.S. Department of Commerce
|
||||
DOD,U.S. Department of Defense
|
||||
DOE,U.S. Department of Energy
|
||||
@ -49,8 +49,11 @@ NBC,National Broadcasting Company
|
||||
NIST,U.S. National Institute of Standards and Technology
|
||||
NIWA,National Institute of Water and Atmospheric Research Limited
|
||||
NHTSA,U.S. National Highway Traffic Safety Administration
|
||||
NSA,U.S. National Security Agency
|
||||
NYPD,New York Police Department
|
||||
OECD,Organization for Economic Cooperation & Development
|
||||
ONCD,Office of the National Cyber Director
|
||||
RSF,Reporters Sans Frontières (French for: Reporters Without Borders)
|
||||
SAARC,South Asian Association for Regional Cooperation
|
||||
TREAS,U.S. Department of the Treasury
|
||||
ULA,United Launch Alliance
|
Can't render this file because it has a wrong number of fields in line 14.
|
@ -1,4 +1,4 @@
|
||||
ABBR,MEANING
|
||||
TERM,MEANING
|
||||
AAAA,Asian Amateur Athletics Association
|
||||
AFC,American Football Conference
|
||||
DNF,Did Not Finish (Race)
|
|
BIN
data/sounds/Big Ben.mp3
Normal file
BIN
data/sounds/Big Ben.mp3
Normal file
Binary file not shown.
15
docs/FAQ.md
15
docs/FAQ.md
@ -102,19 +102,20 @@
|
||||
|
||||
<details><summary>How to configure PowerShell as my default shell on Linux?</summary>
|
||||
|
||||
**Make sure PowerShell is installed, then execute: `chsh -s /usr/bin/pwsh USERNAME`. In case you experience an "invalid shell" error, add "/usr/bin/pwsh" to /etc/shells.**
|
||||
1. Make sure PowerShell is installed, then **execute: `chsh -s /usr/bin/pwsh USERNAME`** (replace USERNAME by your user name).
|
||||
2. In case you experience an "invalid shell" error, **add the line "/usr/bin/pwsh" to /etc/shells.**
|
||||
</details>
|
||||
|
||||
<details><summary>How to install a custom PowerShell profile?</summary>
|
||||
<details><summary>How to set a custom PowerShell profile?</summary>
|
||||
|
||||
**Execute: `./set-profile.ps1` in the *Scripts* subfolder, this will install **my-profile.ps1** as your PowerShell profile. It's a nice looking base profile, but can easily be changed to your needs.**
|
||||
**Execute: `./update-powershell-profile.ps1` in the *Scripts* subfolder, this will install **my-profile.ps1** as your PowerShell profile. It's a nice looking basic profile and can easily be adapted to your needs.**
|
||||
</details>
|
||||
|
||||
<details><summary>How to add the scripts to the search path?</summary>
|
||||
|
||||
Want to use the PowerShell scripts everywhere on the command-line? Then you need to add the Scripts/ subfolder to the search path:
|
||||
|
||||
* **On Linux using Bash:** edit .profile in your home directory and add the line: PATH="$PATH:/path/to/PowerShell/Scripts"
|
||||
* **On Linux using Bash:** edit .profile in your home directory and add the line: PATH="$PATH:/path/to/PowerShell/scripts (replace '/path/to/)."
|
||||
* **On Windows:** open Settings > System > About > Advanced system settings > Environment Variables, edit the user's variable "Path", and add the full path to the Scripts/ directory.
|
||||
</details>
|
||||
|
||||
@ -129,6 +130,12 @@ Want to use the PowerShell scripts everywhere on the command-line? Then you need
|
||||
* or simply your **favorite text editor** as an alternative.
|
||||
</details>
|
||||
|
||||
<details><summary>How to remove the banner message in PowerShell?</summary>
|
||||
|
||||
* **In general:** start powershell.exe with option '-nologo'.
|
||||
* **For Windows Terminal:** open Settings > Profiles > Windows PowerShell > Command line and add " -nologo".
|
||||
</details>
|
||||
|
||||
<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:**
|
||||
|
@ -113,4 +113,4 @@ try {
|
||||
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of add-firewall-rules.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of add-firewall-rules.ps1 as of 05/19/2024 10:25:16)*
|
||||
|
@ -79,4 +79,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of add-memo.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of add-memo.ps1 as of 05/19/2024 10:25:16)*
|
||||
|
@ -71,4 +71,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of alert.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of alert.ps1 as of 05/19/2024 10:25:16)*
|
||||
|
@ -9,7 +9,7 @@ Parameters
|
||||
PS> ./build-repo.ps1 [[-path] <String>] [<CommonParameters>]
|
||||
|
||||
-path <String>
|
||||
Specifies the path to the Git repository (current working dir by default)
|
||||
Specifies the path to the Git repository (default is current working directory)
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
@ -26,9 +26,9 @@ Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./build-repo.ps1 C:\Repos\ninja
|
||||
⏳ Building 📂ninja using CMakeLists.txt into 📂ninja/_My_Build...
|
||||
⏳ Building 📂ninja using CMakeLists.txt into 📂ninja/_Build_Results...
|
||||
...
|
||||
✔️ Built 📂ninja in 47 sec
|
||||
✔️ Built 📂ninja repository in 47 sec.
|
||||
|
||||
```
|
||||
|
||||
@ -49,12 +49,12 @@ Script Content
|
||||
.DESCRIPTION
|
||||
This PowerShell script builds a Git repository by supporting build systems such as: autogen, cmake, configure, Gradle, Imakefile, Makefile, and Meson.
|
||||
.PARAMETER path
|
||||
Specifies the path to the Git repository (current working dir by default)
|
||||
Specifies the path to the Git repository (default is current working directory)
|
||||
.EXAMPLE
|
||||
PS> ./build-repo.ps1 C:\Repos\ninja
|
||||
⏳ Building 📂ninja using CMakeLists.txt into 📂ninja/_My_Build...
|
||||
⏳ Building 📂ninja using CMakeLists.txt into 📂ninja/_Build_Results...
|
||||
...
|
||||
✔️ Built 📂ninja in 47 sec
|
||||
✔️ Built 📂ninja repository in 47 sec.
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -66,30 +66,44 @@ param([string]$path = "$PWD")
|
||||
function BuildInDir([string]$path) {
|
||||
$dirName = (Get-Item "$path").Name
|
||||
if (Test-Path "$path/CMakeLists.txt" -pathType leaf) {
|
||||
"⏳ (1/4) Building 📂$dirName by using CMake into 📂$dirName/_My_Build..."
|
||||
if (-not(Test-Path "$path/_My_Build/" -pathType container)) {
|
||||
& mkdir "$path/_My_Build/"
|
||||
"⏳ (1/4) Building 📂$dirName by using CMake into 📂$dirName/_Build_Results..."
|
||||
if (-not(Test-Path "$path/_Build_Results/" -pathType container)) {
|
||||
& mkdir "$path/_Build_Results/"
|
||||
}
|
||||
Set-Location "$path/_My_Build/"
|
||||
Set-Location "$path/_Build_Results/"
|
||||
|
||||
"⏳ (2/4) Executing 'cmake' to generate the Makefile..."
|
||||
& cmake ..
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'cmake ..' has failed" }
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'cmake ..' exited with error code $lastExitCode" }
|
||||
|
||||
"⏳ (3/4) Executing 'make -j4' to compile and link..."
|
||||
& make -j4
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'make -j4' has failed" }
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'make -j4' exited with error code $lastExitCode" }
|
||||
|
||||
"⏳ (4/4) Executing 'ctest -V' to perform tests (optional)..."
|
||||
& ctest -V
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'make test' has failed" }
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'ctest -V' exited with error code $lastExitCode" }
|
||||
|
||||
} elseif (Test-Path "$path/autogen.sh" -pathType leaf) {
|
||||
"⏳ Building 📂$dirName by using 'autogen.sh'..."
|
||||
Set-Location "$path/"
|
||||
|
||||
& ./autogen.sh --force
|
||||
if ($lastExitCode -ne "0") { throw "Executing './autogen.sh --force' exited with error code $lastExitCode" }
|
||||
|
||||
& ./configure
|
||||
if ($lastExitCode -ne "0") { throw "Executing './configure' exited with error code $lastExitCode" }
|
||||
|
||||
& make -j4
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'make -j4' exited with error code $lastExitCode" }
|
||||
|
||||
|
||||
} elseif (Test-Path "$path/configure" -pathType leaf) {
|
||||
"⏳ Building 📂$dirName by using 'configure'..."
|
||||
Set-Location "$path/"
|
||||
|
||||
& ./configure
|
||||
#if ($lastExitCode -ne "0") { throw "Script 'configure' exited with error code $lastExitCode" }
|
||||
#if ($lastExitCode -ne "0") { throw "Executing './configure' exited with error code $lastExitCode" }
|
||||
|
||||
& make -j4
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'make -j4' has failed" }
|
||||
@ -97,31 +111,21 @@ function BuildInDir([string]$path) {
|
||||
& make test
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'make test' has failed" }
|
||||
|
||||
} elseif (Test-Path "$path/autogen.sh" -pathType leaf) {
|
||||
"⏳ Building 📂$dirName by using 'autogen.sh'..."
|
||||
Set-Location "$path/"
|
||||
|
||||
& ./autogen.sh
|
||||
if ($lastExitCode -ne "0") { throw "Script 'autogen.sh' exited with error code $lastExitCode" }
|
||||
|
||||
& make -j4
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'make -j4' has failed" }
|
||||
|
||||
} elseif (Test-Path "$path/build.gradle" -pathType leaf) {
|
||||
"⏳ Building 📂$dirName by using Gradle..."
|
||||
Set-Location "$path"
|
||||
|
||||
& gradle build
|
||||
if ($lastExitCode -ne "0") { throw "'gradle build' has failed" }
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'gradle build' exited with error code $lastExitCode" }
|
||||
|
||||
& gradle test
|
||||
if ($lastExitCode -ne "0") { throw "'gradle test' has failed" }
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'gradle test' exited with error code $lastExitCode" }
|
||||
|
||||
} elseif (Test-Path "$path/meson.build" -pathType leaf) {
|
||||
"⏳ Building 📂$dirName by using Meson..."
|
||||
Set-Location "$path"
|
||||
& meson . build --prefix=/usr/local
|
||||
if ($lastExitCode -ne "0") { throw "'meson . build' has failed" }
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'meson . build' exited with error code $lastExitCode" }
|
||||
|
||||
} elseif (Test-Path "$path/Imakefile" -pathType leaf) {
|
||||
"⏳ Building 📂$dirName by using Imakefile..."
|
||||
@ -152,7 +156,7 @@ function BuildInDir([string]$path) {
|
||||
Set-Location "$path/"
|
||||
|
||||
& ./compile.sh
|
||||
if ($lastExitCode -ne "0") { throw "Script 'compile.sh' exited with error code $lastExitCode" }
|
||||
if ($lastExitCode -ne "0") { throw "Executing './compile.sh' exited with error code $lastExitCode" }
|
||||
|
||||
& make -j4
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'make -j4' has failed" }
|
||||
@ -162,7 +166,7 @@ function BuildInDir([string]$path) {
|
||||
Set-Location "$path/attower/src/build/DevBuild/"
|
||||
|
||||
& ./build.bat build-all-release
|
||||
if ($lastExitCode -ne "0") { throw "Script 'build.bat' exited with error code $lastExitCode" }
|
||||
if ($lastExitCode -ne "0") { throw "Executing 'build.bat build-all-release' exited with error code $lastExitCode" }
|
||||
|
||||
} elseif (Test-Path "$path/$dirName" -pathType container) {
|
||||
"⏳ No make rule found, trying subfolder 📂$($dirName)..."
|
||||
@ -184,7 +188,7 @@ try {
|
||||
|
||||
$repoDirName = (Get-Item "$path").Name
|
||||
[int]$elapsed = $stopWatch.Elapsed.TotalSeconds
|
||||
"✔️ Built repo 📂$repoDirName in $elapsed sec"
|
||||
"✔️ Built 📂$repoDirName repository in $elapsed sec."
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
@ -192,4 +196,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of build-repo.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of build-repo.ps1 as of 05/19/2024 10:25:16)*
|
||||
|
@ -82,4 +82,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of build-repos.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of build-repos.ps1 as of 05/19/2024 10:25:16)*
|
||||
|
@ -60,4 +60,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-autostart.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-autostart.ps1 as of 05/19/2024 10:25:16)*
|
||||
|
@ -63,4 +63,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-crashdumps.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-crashdumps.ps1 as of 05/19/2024 10:25:16)*
|
||||
|
@ -64,4 +64,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-desktop.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-desktop.ps1 as of 05/19/2024 10:25:16)*
|
||||
|
@ -64,4 +64,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-docs.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-docs.ps1 as of 05/19/2024 10:25:16)*
|
||||
|
@ -64,4 +64,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-downloads.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-downloads.ps1 as of 05/19/2024 10:25:16)*
|
||||
|
@ -60,4 +60,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-dropbox.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-dropbox.ps1 as of 05/19/2024 10:25:16)*
|
||||
|
@ -64,4 +64,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-etc.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-etc.ps1 as of 05/19/2024 10:25:16)*
|
||||
|
@ -60,4 +60,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-fonts.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-fonts.ps1 as of 05/19/2024 10:25:16)*
|
||||
|
@ -60,4 +60,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-home.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-home.ps1 as of 05/19/2024 10:25:16)*
|
||||
|
@ -48,4 +48,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-logs.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-logs.ps1 as of 05/19/2024 10:25:16)*
|
||||
|
@ -64,4 +64,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-music.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-music.ps1 as of 05/19/2024 10:25:16)*
|
||||
|
@ -60,4 +60,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-onedrive.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-onedrive.ps1 as of 05/19/2024 10:25:17)*
|
||||
|
@ -62,4 +62,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-pics.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-pics.ps1 as of 05/19/2024 10:25:17)*
|
||||
|
@ -62,4 +62,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-public.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-public.ps1 as of 05/19/2024 10:25:17)*
|
||||
|
@ -19,7 +19,7 @@ Script Content
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Sets the working directory to the user's recycle bin folder
|
||||
Sets the working directory to the recycle bin folder
|
||||
.DESCRIPTION
|
||||
This PowerShell script changes the working directory to the user's recycle bin folder.
|
||||
.EXAMPLE
|
||||
@ -39,13 +39,13 @@ function GetCurrentUserSID { [CmdletBinding()] param()
|
||||
|
||||
try {
|
||||
if ($IsLinux) {
|
||||
$Path = "$HOME/.local/share/Trash/"
|
||||
$path = "$HOME/.local/share/Trash/"
|
||||
} 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)" }
|
||||
Set-Location "$Path"
|
||||
"📂$Path"
|
||||
if (-not(Test-Path "$path" -pathType container)) { throw "Recycle bin folder at 📂$path doesn't exist (yet)" }
|
||||
Set-Location "$path"
|
||||
"📂$path"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
@ -53,4 +53,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-recycle-bin.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-recycle-bin.ps1 as of 05/19/2024 10:25:17)*
|
||||
|
93
docs/cd-repo.md
Normal file
93
docs/cd-repo.md
Normal file
@ -0,0 +1,93 @@
|
||||
Script: *cd-repo.ps1*
|
||||
========================
|
||||
|
||||
This PowerShell script changes the working directory to a Git repository.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
PS> ./cd-repo.ps1 [[-folderName] <String>] [<CommonParameters>]
|
||||
|
||||
-folderName <String>
|
||||
Specifies the folder name
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./cd-repo.ps1 rust
|
||||
📂C:\Repos\rust • on Git branch: ## main ... origin/main
|
||||
|
||||
```
|
||||
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Sets the working directory to a repository
|
||||
.DESCRIPTION
|
||||
This PowerShell script changes the working directory to a Git repository.
|
||||
.PARAMETER folderName
|
||||
Specifies the folder name
|
||||
.EXAMPLE
|
||||
PS> ./cd-repo.ps1 rust
|
||||
📂C:\Repos\rust • on Git branch: ## main ... origin/main
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
param([string]$folderName = "")
|
||||
|
||||
try {
|
||||
if ("$folderName" -eq "") { $folderName = Read-Host "Enter the folder name" }
|
||||
|
||||
if (Test-Path "$HOME/Repos/" -pathType Container) { # try short name
|
||||
$path = "$HOME/Repos/"
|
||||
} elseif (Test-Path "$HOME/repos/" -pathType Container) {
|
||||
$path = "$HOME/repos/"
|
||||
} elseif (Test-Path "$HOME/Repositories/" -pathType Container) { # try long name
|
||||
$path = "$HOME/Repositories/"
|
||||
} elseif (Test-Path "$HOME/source/repos/" -pathType Container) { # try Visual Studio default
|
||||
$path = "$HOME/source/repos/"
|
||||
} elseif (Test-Path "/Repos/" -pathType Container) {
|
||||
$path = "/Repos/"
|
||||
} else {
|
||||
throw "The folder for Git repositories doesn't exist (yet)"
|
||||
}
|
||||
$path += $folderName
|
||||
|
||||
if (-not(Test-Path "$path" -pathType Container)) { throw "The path to 📂$path doesn't exist (yet)" }
|
||||
$path = Resolve-Path "$path"
|
||||
Set-Location "$path"
|
||||
Write-Host "📂$path • on Git branch: " -noNewline
|
||||
|
||||
& git status --short --branch --show-stash
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error: $($Error[0])"
|
||||
exit 1
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-repo.ps1 as of 05/19/2024 10:25:17)*
|
@ -6,16 +6,7 @@ This PowerShell script changes the working directory to the user's Git repositor
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
PS> ./cd-repos.ps1 [[-Subpath] <String>] [<CommonParameters>]
|
||||
|
||||
-Subpath <String>
|
||||
Specifies an additional relative subpath (optional)
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
Default value
|
||||
Accept pipeline input? false
|
||||
Accept wildcard characters? false
|
||||
PS> ./cd-repos.ps1 [<CommonParameters>]
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
@ -25,8 +16,8 @@ PS> ./cd-repos.ps1 [[-Subpath] <String>] [<CommonParameters>]
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./cd-repos
|
||||
📂C:\Users\Markus\source\Repos
|
||||
PS> ./cd-repos.ps1
|
||||
📂C:\Users\Markus\Repos
|
||||
|
||||
```
|
||||
|
||||
@ -46,33 +37,35 @@ Script Content
|
||||
Sets the working directory to the user's repos folder
|
||||
.DESCRIPTION
|
||||
This PowerShell script changes the working directory to the user's Git repositories folder.
|
||||
.PARAMETER Subpath
|
||||
.PARAMETER subpath
|
||||
Specifies an additional relative subpath (optional)
|
||||
.EXAMPLE
|
||||
PS> ./cd-repos
|
||||
📂C:\Users\Markus\source\Repos
|
||||
PS> ./cd-repos.ps1
|
||||
📂C:\Users\Markus\Repos
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
param([string]$Subpath = "")
|
||||
|
||||
try {
|
||||
if (Test-Path "$HOME/Repos" -pathType Container) { # try short name
|
||||
$Path = "$HOME/Repos/$Subpath"
|
||||
} elseif (Test-Path "$HOME/Repositories" -pathType Container) { # try long name
|
||||
$Path = "$HOME/Repositories/$Subpath"
|
||||
} elseif (Test-Path "$HOME/source/repos" -pathType Container) { # try Visual Studio default
|
||||
$Path = "$HOME/source/repos/$Subpath"
|
||||
if (Test-Path "$HOME/Repos/" -pathType Container) { # try short name
|
||||
$path = "$HOME/Repos/"
|
||||
} elseif (Test-Path "$HOME/repos/" -pathType Container) {
|
||||
$path = "$HOME/repos/"
|
||||
} elseif (Test-Path "$HOME/Repositories/" -pathType Container) { # try long name
|
||||
$path = "$HOME/Repositories/"
|
||||
} elseif (Test-Path "$HOME/source/repos/" -pathType Container) { # try Visual Studio default
|
||||
$path = "$HOME/source/repos/"
|
||||
} elseif (Test-Path "/Repos/" -pathType Container) {
|
||||
$path = "/Repos/"
|
||||
} else {
|
||||
throw "The folder for Git repositories in your home directory doesn't exist (yet)."
|
||||
throw "The folder for Git repositories doesn't exist (yet)"
|
||||
}
|
||||
if (-not(Test-Path "$Path" -pathType Container)) { throw "The path to 📂$Path doesn't exist (yet)." }
|
||||
$Path = Resolve-Path "$Path"
|
||||
Set-Location "$Path"
|
||||
"📂$Path"
|
||||
if (-not(Test-Path "$path" -pathType Container)) { throw "The path to 📂$path doesn't exist (yet)" }
|
||||
$path = Resolve-Path "$path"
|
||||
Set-Location "$path"
|
||||
"📂$path"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error: $($Error[0])"
|
||||
@ -80,4 +73,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-repos.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-repos.ps1 as of 05/19/2024 10:25:17)*
|
||||
|
@ -57,4 +57,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-root.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-root.ps1 as of 05/19/2024 10:25:17)*
|
||||
|
@ -55,4 +55,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-screenshots.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-screenshots.ps1 as of 05/19/2024 10:25:17)*
|
||||
|
@ -17,7 +17,7 @@ Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./cd-scripts
|
||||
📂C:\Users\Markus\source\repos\PowerShell\scripts
|
||||
📂C:\Users\Markus\Repos\PowerShell\scripts
|
||||
|
||||
```
|
||||
|
||||
@ -39,7 +39,7 @@ Script Content
|
||||
This PowerShell script changes the working directory to the PowerShell scripts folder.
|
||||
.EXAMPLE
|
||||
PS> ./cd-scripts
|
||||
📂C:\Users\Markus\source\repos\PowerShell\scripts
|
||||
📂C:\Users\Markus\Repos\PowerShell\scripts
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -47,10 +47,10 @@ Script Content
|
||||
#>
|
||||
|
||||
try {
|
||||
$Path = Resolve-Path "$PSScriptRoot"
|
||||
if (-not(Test-Path "$Path" -pathType container)) { throw "PowerShell scripts folder at 📂$Path doesn't exist (yet)" }
|
||||
Set-Location "$Path"
|
||||
"📂$Path"
|
||||
$path = Resolve-Path "$PSScriptRoot"
|
||||
if (-not(Test-Path "$path" -pathType container)) { throw "PowerShell scripts folder at 📂$path doesn't exist (yet)" }
|
||||
Set-Location "$path"
|
||||
"📂$path"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
@ -58,4 +58,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-scripts.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-scripts.ps1 as of 05/19/2024 10:25:17)*
|
||||
|
@ -58,4 +58,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-ssh.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-ssh.ps1 as of 05/19/2024 10:25:17)*
|
||||
|
@ -50,4 +50,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-temp.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-temp.ps1 as of 05/19/2024 10:25:17)*
|
||||
|
@ -62,4 +62,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-templates.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-templates.ps1 as of 05/19/2024 10:25:17)*
|
||||
|
@ -19,7 +19,7 @@ Script Content
|
||||
```powershell
|
||||
<#
|
||||
.SYNOPSIS
|
||||
Sets the working directory to the user's trash folder
|
||||
Sets the working directory to the trash folder
|
||||
.DESCRIPTION
|
||||
This PowerShell script changes the working directory to the user's trash folder.
|
||||
.EXAMPLE
|
||||
@ -39,13 +39,13 @@ function GetCurrentUserSID { [CmdletBinding()] param()
|
||||
|
||||
try {
|
||||
if ($IsLinux) {
|
||||
$Path = "$HOME/.local/share/Trash/"
|
||||
$path = "$HOME/.local/share/Trash/"
|
||||
} 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)" }
|
||||
Set-Location "$Path"
|
||||
"📂$Path"
|
||||
if (-not(Test-Path "$path" -pathType container)) { throw "Trash folder at 📂$path doesn't exist (yet)" }
|
||||
Set-Location "$path"
|
||||
"📂$path"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
@ -53,4 +53,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-trash.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-trash.ps1 as of 05/19/2024 10:25:17)*
|
||||
|
@ -58,4 +58,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-up.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-up.ps1 as of 05/19/2024 10:25:17)*
|
||||
|
@ -58,4 +58,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-up2.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-up2.ps1 as of 05/19/2024 10:25:17)*
|
||||
|
@ -58,4 +58,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-up3.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-up3.ps1 as of 05/19/2024 10:25:17)*
|
||||
|
@ -58,4 +58,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-up4.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-up4.ps1 as of 05/19/2024 10:25:17)*
|
||||
|
@ -58,4 +58,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-users.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-users.ps1 as of 05/19/2024 10:25:17)*
|
||||
|
@ -62,4 +62,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-videos.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-videos.ps1 as of 05/19/2024 10:25:17)*
|
||||
|
@ -58,4 +58,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-windows.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-windows.ps1 as of 05/19/2024 10:25:17)*
|
||||
|
@ -79,4 +79,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of change-wallpaper.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of change-wallpaper.ps1 as of 05/19/2024 10:25:17)*
|
||||
|
@ -67,4 +67,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-admin.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-admin.ps1 as of 05/19/2024 10:25:17)*
|
||||
|
@ -1,34 +1,19 @@
|
||||
Script: *check-apps.ps1*
|
||||
========================
|
||||
|
||||
This PowerShell script queries the installed applications and prints it.
|
||||
check-apps.ps1
|
||||
|
||||
|
||||
Parameters
|
||||
----------
|
||||
```powershell
|
||||
PS> ./check-apps.ps1 [<CommonParameters>]
|
||||
|
||||
|
||||
[<CommonParameters>]
|
||||
This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction,
|
||||
WarningVariable, OutBuffer, PipelineVariable, and OutVariable.
|
||||
```
|
||||
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-apps.ps1
|
||||
✅ 119 Windows apps installed, 11 upgrades available
|
||||
|
||||
```
|
||||
|
||||
Notes
|
||||
-----
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
|
||||
Related Links
|
||||
-------------
|
||||
https://github.com/fleschutz/PowerShell
|
||||
|
||||
Script Content
|
||||
--------------
|
||||
```powershell
|
||||
@ -46,28 +31,43 @@ Script Content
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
function GetCrashDumps {
|
||||
[string]$path = Resolve-Path -Path "~\AppData\Local\CrashDumps"
|
||||
$count = 0
|
||||
$files = (Get-ChildItem -path "$path\*.dmp" -attributes !Directory)
|
||||
foreach($file in $files) { $count++ }
|
||||
return $count
|
||||
}
|
||||
|
||||
try {
|
||||
$statusIcon = "✅"
|
||||
$statusMsg = ""
|
||||
if ($IsLinux) {
|
||||
Write-Progress "Querying installed applications..."
|
||||
$numPkgs = (apt list --installed 2>/dev/null).Count
|
||||
$numSnaps = (snap list).Count - 1
|
||||
Write-Progress -Completed "."
|
||||
Write-Host "✅ $numPkgs Debian packages, $numSnaps snaps installed"
|
||||
Write-Progress -completed "Done."
|
||||
$statusMsg += "$numPkgs Debian packages, $numSnaps snaps installed"
|
||||
} else {
|
||||
Write-Progress "Querying installed applications..."
|
||||
Write-Progress "Querying installed apps..."
|
||||
$Apps = Get-AppxPackage
|
||||
Write-Progress -Completed "."
|
||||
Write-Host "✅ $($Apps.Count) Windows apps installed, " -noNewline
|
||||
Write-Progress -completed "Done."
|
||||
$statusMsg = "$($Apps.Count) Win apps installed"
|
||||
|
||||
[int]$NumNonOk = 0
|
||||
foreach($App in $Apps) { if ($App.Status -ne "Ok") { $NumNonOk++ } }
|
||||
if ($NumNonOk -gt 0) { $Status += ", $NumNonOk non-ok" }
|
||||
[int]$NumErrors = (Get-AppxLastError)
|
||||
if ($NumErrors -gt 0) { $Status += ", $NumErrors errors" }
|
||||
[int]$numNonOk = 0
|
||||
foreach($App in $Apps) { if ($App.Status -ne "Ok") { $numNonOk++ } }
|
||||
if ($numNonOk -gt 0) { $statusIcon = "⚠️"; $statusMsg += ", $numNonOk non-ok" }
|
||||
|
||||
$NumUpdates = (winget upgrade --include-unknown).Count - 5
|
||||
Write-Host "$NumUpdates upgrades available"
|
||||
[int]$numErrors = (Get-AppxLastError)
|
||||
if ($numErrors -gt 0) { $statusIcon = "⚠️"; $statusMsg += ", $numErrors errors" }
|
||||
|
||||
$numUpdates = (winget upgrade --include-unknown).Count - 5
|
||||
$statusMsg += ", $numUpdates upgrades available"
|
||||
|
||||
$crashDumps = GetCrashDumps
|
||||
if ($crashDumps -ne 0) { $statusIcon = "⚠️"; $statusMsg += ", $crashDumps crash dumps found" }
|
||||
}
|
||||
Write-Host "$statusIcon $statusMsg"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
@ -75,4 +75,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-apps.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-apps.ps1 as of 05/19/2024 10:25:17)*
|
||||
|
@ -76,4 +76,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-bios.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-bios.ps1 as of 05/19/2024 10:25:17)*
|
||||
|
@ -101,4 +101,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-cpu.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-cpu.ps1 as of 05/19/2024 10:25:17)*
|
||||
|
@ -82,4 +82,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-credentials.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-credentials.ps1 as of 05/19/2024 10:25:17)*
|
||||
|
@ -57,4 +57,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-day.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-day.ps1 as of 05/19/2024 10:25:17)*
|
||||
|
@ -73,4 +73,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-dns.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-dns.ps1 as of 05/19/2024 10:25:17)*
|
||||
|
@ -35,7 +35,7 @@ Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-drive-space.ps1 C
|
||||
✅ Drive C: uses 56%, 442GB free of 999GB
|
||||
✅ Drive C: has 442GB free (56% of 1TB used)
|
||||
|
||||
```
|
||||
|
||||
@ -61,7 +61,7 @@ Script Content
|
||||
Specifies the minimum level in bytes (10GB by default)
|
||||
.EXAMPLE
|
||||
PS> ./check-drive-space.ps1 C
|
||||
✅ Drive C: uses 56%, 442GB free of 999GB
|
||||
✅ Drive C: has 442GB free (56% of 1TB used)
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -100,8 +100,8 @@ try {
|
||||
} elseif ($free -lt $minLevel) {
|
||||
Write-Host "⚠️ Drive $driveName with $(Bytes2String $total) is nearly full, $(Bytes2String $free) free"
|
||||
} else {
|
||||
[int]$percent = ($used * 100) / $total
|
||||
Write-Host "✅ Drive $driveName uses $percent%, $(Bytes2String $free) free of $(Bytes2String $total)"
|
||||
[int64]$percent = ($used * 100) / $total
|
||||
Write-Host "✅ Drive $driveName has $(Bytes2String $free) free ($percent% of $(Bytes2String $total) used)"
|
||||
}
|
||||
exit 0 # success
|
||||
} catch {
|
||||
@ -110,4 +110,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-drive-space.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-drive-space.ps1 as of 05/19/2024 10:25:17)*
|
||||
|
@ -9,7 +9,7 @@ Parameters
|
||||
PS> ./check-drives.ps1 [[-minLevel] <Int64>] [<CommonParameters>]
|
||||
|
||||
-minLevel <Int64>
|
||||
Specifies the minimum warning level (10 GB by default)
|
||||
Specifies the minimum warning level (10GB by default)
|
||||
|
||||
Required? false
|
||||
Position? 1
|
||||
@ -26,8 +26,8 @@ Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-drives.ps1
|
||||
✅ Drive C: uses 49%, 512GB free of 1TB
|
||||
✅ Drive D: uses 84%, 641GB free of 4TB
|
||||
✅ Drive C: has 512GB free (49% of 1TB used)
|
||||
✅ Drive D: has 641GB free (84% of 4TB used)
|
||||
|
||||
```
|
||||
|
||||
@ -48,11 +48,11 @@ Script Content
|
||||
.DESCRIPTION
|
||||
This PowerShell script queries the free space of all drives and prints it.
|
||||
.PARAMETER minLevel
|
||||
Specifies the minimum warning level (10 GB by default)
|
||||
Specifies the minimum warning level (10GB by default)
|
||||
.EXAMPLE
|
||||
PS> ./check-drives.ps1
|
||||
✅ Drive C: uses 49%, 512GB free of 1TB
|
||||
✅ Drive D: uses 84%, 641GB free of 4TB
|
||||
✅ Drive C: has 512GB free (49% of 1TB used)
|
||||
✅ Drive D: has 641GB free (84% of 4TB used)
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -61,24 +61,19 @@ Script Content
|
||||
|
||||
param([int64]$minLevel = 10) # 10 GB minimum
|
||||
|
||||
function Bytes2String { param([int64]$bytes)
|
||||
if ($bytes -lt 1000) { return "$bytes bytes" }
|
||||
$bytes /= 1000
|
||||
if ($bytes -lt 1000) { return "$($bytes)KB" }
|
||||
$bytes /= 1000
|
||||
if ($bytes -lt 1000) { return "$($bytes)MB" }
|
||||
$bytes /= 1000
|
||||
if ($bytes -lt 1000) { return "$($bytes)GB" }
|
||||
$bytes /= 1000
|
||||
if ($bytes -lt 1000) { return "$($bytes)TB" }
|
||||
$bytes /= 1000
|
||||
return "$($bytes)PB"
|
||||
function Bytes2String { param([int64]$number)
|
||||
if ($number -lt 1KB) { return "$number bytes" }
|
||||
if ($number -lt 1MB) { return '{0:N0}KB' -f ($number / 1KB) }
|
||||
if ($number -lt 1GB) { return '{0:N0}MB' -f ($number / 1MB) }
|
||||
if ($number -lt 1TB) { return '{0:N0}GB' -f ($number / 1GB) }
|
||||
if ($number -lt 1PB) { return '{0:N0}TB' -f ($number / 1TB) }
|
||||
return '{0:N0}GB' -f ($number / 1PB)
|
||||
}
|
||||
|
||||
try {
|
||||
Write-Progress "Querying drives..."
|
||||
$drives = Get-PSDrive -PSProvider FileSystem
|
||||
$minLevel *= 1000 * 1000 * 1000
|
||||
$minLevel *= 1GB
|
||||
Write-Progress -completed " "
|
||||
foreach($drive in $drives) {
|
||||
$details = (Get-PSDrive $drive.Name)
|
||||
@ -94,8 +89,8 @@ try {
|
||||
} elseif ($free -lt $minLevel) {
|
||||
Write-Host "⚠️ Drive $name with $(Bytes2String $total) is nearly full, $(Bytes2String $free) free"
|
||||
} else {
|
||||
[int]$percent = ($used * 100) / $total
|
||||
Write-Host "✅ Drive $name uses $percent%, $(Bytes2String $free) free of $(Bytes2String $total)"
|
||||
[int64]$percent = ($used * 100) / $total
|
||||
Write-Host "✅ Drive $name has $(Bytes2String $free) free ($percent% of $(Bytes2String $total) used)"
|
||||
}
|
||||
}
|
||||
exit 0 # success
|
||||
@ -105,4 +100,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-drives.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-drives.ps1 as of 05/19/2024 10:25:17)*
|
||||
|
@ -63,4 +63,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-dusk.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-dusk.ps1 as of 05/19/2024 10:25:17)*
|
||||
|
@ -61,4 +61,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-easter-sunday.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-easter-sunday.ps1 as of 05/19/2024 10:25:17)*
|
||||
|
@ -75,4 +75,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-file-system.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-file-system.ps1 as of 05/19/2024 10:25:17)*
|
||||
|
@ -170,4 +170,4 @@ function Check-Header { param( $path )
|
||||
Check-Header $Path
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-file.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-file.ps1 as of 05/19/2024 10:25:17)*
|
||||
|
@ -65,4 +65,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-firewall.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-firewall.ps1 as of 05/19/2024 10:25:17)*
|
||||
|
@ -65,4 +65,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-gpu.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-gpu.ps1 as of 05/19/2024 10:25:17)*
|
||||
|
@ -52,15 +52,15 @@ Script Content
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
" "
|
||||
& "$PSScriptRoot/write-green.ps1" " H A R D W A R E"
|
||||
Write-Host "`n H A R D W A R E" -foregroundColor green
|
||||
& "$PSScriptRoot/check-cpu.ps1"
|
||||
& "$PSScriptRoot/check-ram.ps1"
|
||||
& "$PSScriptRoot/check-gpu.ps1"
|
||||
& "$PSScriptRoot/check-bios.ps1"
|
||||
& "$PSScriptRoot/check-smart-devices.ps1"
|
||||
& "$PSScriptRoot/check-drives.ps1"
|
||||
& "$PSScriptRoot/check-power.ps1"
|
||||
& "$PSScriptRoot/check-drives.ps1"
|
||||
exit 0 # success
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-hardware.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-hardware.ps1 as of 05/19/2024 10:25:17)*
|
||||
|
@ -58,4 +58,4 @@ Script Content
|
||||
exit 0 # success
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-health.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-health.ps1 as of 05/19/2024 10:25:17)*
|
||||
|
@ -61,4 +61,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-independence-day.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-independence-day.ps1 as of 05/19/2024 10:25:17)*
|
||||
|
@ -84,4 +84,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-ipv4-address.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-ipv4-address.ps1 as of 05/19/2024 10:25:18)*
|
||||
|
@ -98,4 +98,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-ipv6-address.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-ipv6-address.ps1 as of 05/19/2024 10:25:18)*
|
||||
|
@ -55,4 +55,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-iss-position.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-iss-position.ps1 as of 05/19/2024 10:25:18)*
|
||||
|
@ -87,4 +87,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-mac-address.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-mac-address.ps1 as of 05/19/2024 10:25:18)*
|
||||
|
@ -60,4 +60,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-midnight.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-midnight.ps1 as of 05/19/2024 10:25:18)*
|
||||
|
@ -57,4 +57,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-month.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-month.ps1 as of 05/19/2024 10:25:18)*
|
||||
|
@ -76,4 +76,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-moon-phase.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-moon-phase.ps1 as of 05/19/2024 10:25:18)*
|
||||
|
@ -54,8 +54,7 @@ Script Content
|
||||
Author: Markus Fleschutz | License: CC0
|
||||
#>
|
||||
|
||||
" "
|
||||
& "$PSScriptRoot/write-green.ps1" " N E T W O R K"
|
||||
Write-Host "`n N E T W O R K" -foregroundColor green
|
||||
& "$PSScriptRoot/ping-remote-hosts.ps1"
|
||||
& "$PSScriptRoot/check-firewall"
|
||||
& "$PSScriptRoot/check-dns.ps1"
|
||||
@ -65,4 +64,4 @@ Script Content
|
||||
exit 0 # success
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-network.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-network.ps1 as of 05/19/2024 10:25:18)*
|
||||
|
@ -60,4 +60,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-new-year.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-new-year.ps1 as of 03/27/2024 17:36:24)*
|
||||
|
@ -59,4 +59,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-noon.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-noon.ps1 as of 05/19/2024 10:25:18)*
|
||||
|
@ -73,4 +73,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-os.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-os.ps1 as of 05/19/2024 10:25:18)*
|
||||
|
@ -65,4 +65,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-outlook.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-outlook.ps1 as of 05/19/2024 10:25:18)*
|
||||
|
@ -94,4 +94,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-password.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-password.ps1 as of 05/19/2024 10:25:18)*
|
||||
|
@ -24,7 +24,7 @@ Script Content
|
||||
This PowerShell script queries pending operating system reboots and prints it.
|
||||
.EXAMPLE
|
||||
./check-pending-reboot.ps1
|
||||
✅ No pending system reboot
|
||||
✅ No pending reboot
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -79,11 +79,11 @@ try {
|
||||
$Reason += ", '...\CurrentControlSet\Services\Netlogon' with 'AvoidSpnSet'"
|
||||
}
|
||||
if ($Reason -ne "") {
|
||||
Write-Host "⚠️ Pending reboot (registry contains $($Reason.substring(2)))"
|
||||
Write-Host "⚠️ Pending reboot (registry got $($Reason.substring(2)))"
|
||||
}
|
||||
}
|
||||
if ($Reason -eq "") {
|
||||
Write-Host "✅ No pending system reboot"
|
||||
Write-Host "✅ No pending reboot"
|
||||
}
|
||||
exit 0 # success
|
||||
} catch {
|
||||
@ -92,4 +92,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-pending-reboot.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-pending-reboot.ps1 as of 05/19/2024 10:25:18)*
|
||||
|
@ -58,7 +58,7 @@ try {
|
||||
if ($details.BatteryChargeStatus -eq "NoSystemBattery") {
|
||||
$reply = "✅ AC powered"
|
||||
} elseif ($percent -ge 95) {
|
||||
$reply = "✅ Battery fully charged ($percent%)"
|
||||
$reply = "✅ Battery $percent% full"
|
||||
} else {
|
||||
$reply = "✅ Battery charging ($percent%)"
|
||||
}
|
||||
@ -92,4 +92,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-power.ps1 as of 01/25/2024 13:58:36)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-power.ps1 as of 05/19/2024 10:25:18)*
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user