From c1317242a8c801670937fbd49e66eae86bf7e346 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz <markus@fleschutz.de> Date: Tue, 6 Sep 2022 21:42:04 +0200 Subject: [PATCH] Update the comment based header --- Scripts/add-firewall-rules.ps1 | 2 +- Scripts/add-memo.ps1 | 2 +- Scripts/alert.ps1 | 2 +- Scripts/build-repo.ps1 | 2 +- Scripts/change-wallpaper.ps1 | 4 ++-- Scripts/check-date.ps1 | 4 ++-- Scripts/check-day.ps1 | 2 +- Scripts/check-drive-space.ps1 | 2 +- Scripts/check-dusk.ps1 | 2 +- Scripts/check-easter-sunday.ps1 | 2 +- Scripts/check-file-system.ps1 | 2 +- Scripts/check-health.ps1 | 2 +- Scripts/check-independence-day.ps1 | 2 +- Scripts/check-ipv4-address.ps1 | 2 +- Scripts/check-ipv6-address.ps1 | 2 +- Scripts/check-iss-position.ps1 | 2 +- Scripts/check-mac-address.ps1 | 2 +- Scripts/check-midnight.ps1 | 2 +- Scripts/check-month.ps1 | 2 +- Scripts/check-moon-phase.ps1 | 2 +- Scripts/check-new-year.ps1 | 2 +- Scripts/check-noon.ps1 | 2 +- Scripts/check-operating-system.ps1 | 2 +- Scripts/check-outlook.ps1 | 2 +- Scripts/check-ping.ps1 | 4 ++-- Scripts/check-santa.ps1 | 2 +- Scripts/check-smart-devices.ps1 | 2 +- Scripts/check-subnet-mask.ps1 | 2 +- Scripts/check-swap-space.ps1 | 2 +- Scripts/check-time-zone.ps1 | 2 +- Scripts/check-time.ps1 | 2 +- Scripts/check-uptime.ps1 | 2 +- Scripts/check-weather.ps1 | 2 +- Scripts/check-week.ps1 | 4 ++-- Scripts/check-wind.ps1 | 2 +- Scripts/check-windows-system-files.ps1 | 2 +- Scripts/check-xml-file.ps1 | 2 +- Scripts/clean-repos.ps1 | 2 +- Scripts/clear-recycle-bin.ps1 | 2 +- Scripts/close-calculator.ps1 | 2 +- Scripts/close-chrome.ps1 | 2 +- Scripts/close-cortana.ps1 | 2 +- Scripts/close-edge.ps1 | 2 +- Scripts/close-file-explorer.ps1 | 2 +- Scripts/close-firefox.ps1 | 2 +- Scripts/close-git-extensions.ps1 | 2 +- Scripts/close-magnifier.ps1 | 2 +- Scripts/close-microsoft-paint.ps1 | 2 +- Scripts/close-microsoft-store.ps1 | 2 +- Scripts/close-netflix.ps1 | 2 +- Scripts/close-note-pad.ps1 | 2 +- Scripts/close-obs-studio.ps1 | 2 +- Scripts/close-one-calendar.ps1 | 2 +- Scripts/close-outlook.ps1 | 2 +- Scripts/close-paint-three-d.ps1 | 2 +- Scripts/close-program.ps1 | 2 +- Scripts/close-serenade.ps1 | 2 +- Scripts/close-snipping-tool.ps1 | 2 +- Scripts/close-spotify.ps1 | 2 +- Scripts/close-task-manager.ps1 | 2 +- Scripts/close-three-d-viewer.ps1 | 2 +- Scripts/close-thunderbird.ps1 | 2 +- Scripts/close-visual-studio.ps1 | 2 +- Scripts/close-vlc.ps1 | 2 +- Scripts/close-windows-terminal.ps1 | 2 +- Scripts/convert-csv2txt.ps1 | 2 +- Scripts/convert-mysql2csv.ps1 | 2 +- Scripts/convert-ps2bat.ps1 | 2 +- Scripts/convert-ps2md.ps1 | 2 +- Scripts/convert-sql2csv.ps1 | 2 +- Scripts/convert-txt2wav.ps1 | 2 +- Scripts/display-time.ps1 | 2 +- Scripts/download-dir.ps1 | 2 +- Scripts/download-file.ps1 | 2 +- Scripts/edit.ps1 | 2 +- Scripts/enable-crash-dumps.ps1 | 2 +- Scripts/enable-god-mode.ps1 | 2 +- Scripts/enter-chat.ps1 | 2 +- Scripts/export-to-manuals.ps1 | 2 +- Scripts/get-md5.ps1 | 2 +- Scripts/get-sha1.ps1 | 2 +- Scripts/get-sha256.ps1 | 2 +- Scripts/give-reply.ps1 | 2 +- Scripts/inspect-exe.ps1 | 2 +- Scripts/install-chrome-browser.ps1 | 2 +- Scripts/install-github-cli.ps1 | 2 +- Scripts/install-obs-studio.ps1 | 2 +- Scripts/install-signal-cli.ps1 | 2 +- Scripts/install-updates.ps1 | 2 +- Scripts/install-wsl.ps1 | 2 +- Scripts/introduce-powershell.ps1 | 2 +- Scripts/list-aliases.ps1 | 2 +- Scripts/list-anagrams.ps1 | 2 +- Scripts/list-automatic-variables.ps1 | 2 +- Scripts/list-bluetooth-devices.ps1 | 2 +- Scripts/list-branches.ps1 | 2 +- Scripts/list-cheat-sheet.ps1 | 2 +- Scripts/list-clipboard.ps1 | 2 +- Scripts/list-cmdlets.ps1 | 2 +- Scripts/list-commits.ps1 | 2 +- Scripts/list-console-colors.ps1 | 2 +- Scripts/list-countries.ps1 | 2 +- Scripts/list-credits.ps1 | 2 +- Scripts/list-crypto-rates.ps1 | 2 +- Scripts/list-dir-tree.ps1 | 2 +- Scripts/list-drives.ps1 | 2 +- Scripts/list-emojis.ps1 | 6 +++--- Scripts/list-empty-dirs.ps1 | 2 +- Scripts/list-empty-files.ps1 | 2 +- Scripts/list-environment-variables.ps1 | 2 +- Scripts/list-exchange-rates.ps1 | 2 +- Scripts/list-fibonacci.ps1 | 15 ++++++++++++++- Scripts/list-files.ps1 | 2 +- Scripts/list-folder.ps1 | 2 +- Scripts/list-fritzbox-calls.ps1 | 2 +- Scripts/list-fritzbox-devices.ps1 | 2 +- Scripts/list-headlines.ps1 | 2 +- Scripts/list-hidden-files.ps1 | 2 +- Scripts/list-installed-apps.ps1 | 4 ++-- Scripts/list-installed-software.ps1 | 5 ++--- Scripts/list-latest-tag.ps1 | 2 +- Scripts/list-latest-tags.ps1 | 2 +- Scripts/list-memos.ps1 | 2 +- Scripts/list-modules.ps1 | 4 ++-- Scripts/list-mysql-tables.ps1 | 2 +- Scripts/list-network-shares.ps1 | 4 ++-- Scripts/list-os-releases.ps1 | 2 +- Scripts/list-os-updates.ps1 | 2 +- Scripts/list-passwords.ps1 | 2 +- Scripts/list-pins.ps1 | 2 +- Scripts/list-print-jobs.ps1 | 2 +- Scripts/list-printers.ps1 | 2 +- Scripts/list-processes.ps1 | 2 +- Scripts/list-profiles.ps1 | 2 +- Scripts/list-recycle-bin.ps1 | 2 +- Scripts/list-scripts.ps1 | 2 +- Scripts/list-services.ps1 | 2 +- Scripts/list-sql-tables.ps1 | 2 +- Scripts/list-submodules.ps1 | 2 +- Scripts/list-system-info.ps1 | 2 +- Scripts/list-tags.ps1 | 2 +- Scripts/list-tasks.ps1 | 2 +- Scripts/list-timezone.ps1 | 2 +- Scripts/list-timezones.ps1 | 4 ++-- Scripts/list-tiobe-index.ps1 | 2 +- Scripts/list-unused-files.ps1 | 2 +- Scripts/list-user-groups.ps1 | 2 +- Scripts/list-weather.ps1 | 2 +- Scripts/list-workdir.ps1 | 4 ++-- Scripts/locate-city.ps1 | 2 +- Scripts/locate-ipaddress.ps1 | 2 +- Scripts/locate-my-phone.ps1 | 2 +- Scripts/locate-zip-code.ps1 | 2 +- Scripts/make-install.ps1 | 2 +- Scripts/merry-christmas.ps1 | 2 +- Scripts/moon.ps1 | 2 +- Scripts/new-email.ps1 | 2 +- Scripts/new-qrcode.ps1 | 2 +- Scripts/new-script.ps1 | 2 +- Scripts/new-shortcut.ps1 | 2 +- Scripts/new-symlink.ps1 | 2 +- Scripts/new-tag.ps1 | 2 +- Scripts/new-user.ps1 | 2 +- Scripts/new-zipfile.ps1 | 2 +- Scripts/open-accu-weather.ps1 | 2 +- Scripts/open-air-b-n-b.ps1 | 2 +- Scripts/open-apps-folder.ps1 | 2 +- Scripts/open-auto-start-folder.ps1 | 2 +- Scripts/open-bing-maps.ps1 | 2 +- Scripts/open-booking-com.ps1 | 2 +- Scripts/open-c-drive.ps1 | 2 +- Scripts/open-calculator.ps1 | 4 ++-- Scripts/open-chrome.ps1 | 4 ++-- Scripts/open-clock.ps1 | 4 ++-- Scripts/open-cortana.ps1 | 4 ++-- Scripts/open-d-drive.ps1 | 2 +- Scripts/open-deep-l-translator.ps1 | 2 +- Scripts/open-default-browser.ps1 | 2 +- Scripts/open-desktop-folder.ps1 | 2 +- Scripts/open-documents-folder.ps1 | 2 +- Scripts/open-dropbox-folder.ps1 | 2 +- Scripts/open-duck-duck-go.ps1 | 2 +- Scripts/open-e-drive.ps1 | 2 +- Scripts/open-edge.ps1 | 2 +- Scripts/open-egg-timer.ps1 | 2 +- Scripts/open-email-client.ps1 | 2 +- Scripts/open-f-drive.ps1 | 2 +- Scripts/open-file-explorer.ps1 | 4 ++-- Scripts/open-fire-place.ps1 | 2 +- Scripts/open-firefox.ps1 | 2 +- Scripts/open-flight-radar.ps1 | 2 +- Scripts/open-g-drive.ps1 | 2 +- Scripts/open-git-extensions.ps1 | 2 +- Scripts/open-google-books.ps1 | 2 +- Scripts/open-google-calendar.ps1 | 2 +- Scripts/open-google-contacts.ps1 | 2 +- Scripts/open-google-docs.ps1 | 2 +- Scripts/open-google-earth.ps1 | 2 +- Scripts/open-google-mail.ps1 | 2 +- Scripts/open-google-maps.ps1 | 2 +- Scripts/open-google-news.ps1 | 2 +- Scripts/open-google-photos.ps1 | 2 +- Scripts/open-google-play.ps1 | 2 +- Scripts/open-google-search.ps1 | 2 +- Scripts/open-google-stadia.ps1 | 2 +- Scripts/open-google-translate.ps1 | 2 +- Scripts/open-home-folder.ps1 | 4 ++-- Scripts/open-internet-archive.ps1 | 4 ++-- Scripts/open-jitsi-meet.ps1 | 4 ++-- Scripts/open-m-drive.ps1 | 4 ++-- Scripts/open-magnifier.ps1 | 4 ++-- Scripts/open-microsoft-paint.ps1 | 4 ++-- Scripts/open-microsoft-solitaire.ps1 | 4 ++-- Scripts/open-microsoft-store.ps1 | 4 ++-- Scripts/open-microsoft-teams.ps1 | 6 +++--- Scripts/open-microsoft-weather.ps1 | 6 +++--- Scripts/open-music-folder.ps1 | 4 ++-- Scripts/open-netflix.ps1 | 4 ++-- Scripts/open-note-pad.ps1 | 6 +++--- Scripts/open-obs-studio.ps1 | 4 ++-- Scripts/open-office-365.ps1 | 4 ++-- Scripts/open-one-drive-folder.ps1 | 4 ++-- Scripts/open-outlook.ps1 | 4 ++-- Scripts/open-paint-three-d.ps1 | 4 ++-- Scripts/open-pictures-folder.ps1 | 4 ++-- Scripts/open-recycle-bin-folder.ps1 | 4 ++-- Scripts/open-remote-desktop.ps1 | 4 ++-- Scripts/open-repos-folder.ps1 | 8 ++++---- Scripts/open-screen-clip.ps1 | 6 +++--- Scripts/open-screen-sketch.ps1 | 6 +++--- Scripts/open-skype.ps1 | 6 +++--- Scripts/open-snipping-tool.ps1 | 4 ++-- Scripts/open-space-weather.ps1 | 4 ++-- Scripts/open-speed-test.ps1 | 4 ++-- Scripts/open-spotify.ps1 | 4 ++-- Scripts/open-stack-overflow.ps1 | 4 ++-- Scripts/open-start-page.ps1 | 4 ++-- Scripts/open-street-map.ps1 | 4 ++-- Scripts/open-task-manager.ps1 | 6 +++--- Scripts/open-temporary-folder.ps1 | 4 ++-- Scripts/open-three-d-viewer.ps1 | 4 ++-- Scripts/open-thunderbird.ps1 | 4 ++-- Scripts/open-videos-folders.ps1 | 8 ++++---- Scripts/open-visual-studio.ps1 | 4 ++-- Scripts/open-windows-defender.ps1 | 4 ++-- Scripts/open-windows-terminal.ps1 | 4 ++-- Scripts/open-xing.ps1 | 4 ++-- Scripts/pick-commit.ps1 | 4 ++-- Scripts/play-bee-sound.ps1 | 5 ++--- Scripts/play-cat-sound.ps1 | 4 ++-- Scripts/play-cow-sound.ps1 | 4 ++-- Scripts/play-dog-sound.ps1 | 4 ++-- Scripts/play-donkey-sound.ps1 | 4 ++-- Scripts/play-elephant-sound.ps1 | 5 ++--- Scripts/play-elk-sound.ps1 | 5 ++--- Scripts/play-files.ps1 | 4 ++-- Scripts/play-frog-sound.ps1 | 5 ++--- Scripts/play-goat-sound.ps1 | 5 ++--- Scripts/play-gorilla-sound.ps1 | 5 ++--- Scripts/play-horse-sound.ps1 | 5 ++--- Scripts/play-lion-sound.ps1 | 5 ++--- Scripts/play-m3u.ps1 | 5 ++--- Scripts/play-mp3.ps1 | 5 ++--- Scripts/play-parrot-sound.ps1 | 5 ++--- Scripts/play-pig-sound.ps1 | 5 ++--- Scripts/play-rattlesnake-sound.ps1 | 5 ++--- Scripts/play-super-mario.ps1 | 4 ++-- Scripts/play-tetris-melody.ps1 | 5 ++--- Scripts/play-vulture-sound.ps1 | 5 ++--- Scripts/play-wolf-sound.ps1 | 5 ++--- Scripts/publish-to-ipfs.ps1 | 4 ++-- Scripts/query-smart-data.ps1 | 4 ++-- Scripts/reboot-fritzbox.ps1 | 2 +- Scripts/reboot.ps1 | 2 +- Scripts/remind-me.ps1 | 2 +- Scripts/remove-empty-dirs.ps1 | 2 +- Scripts/remove-print-jobs.ps1 | 2 +- Scripts/remove-tag.ps1 | 2 +- Scripts/repeat-last-reply.ps1 | 2 +- Scripts/replace-in-files.ps1 | 2 +- Scripts/restart-network-adapters.ps1 | 2 +- Scripts/roll-a-dice.ps1 | 2 +- Scripts/save-screenshot.ps1 | 2 +- Scripts/scan-ports.ps1 | 2 +- Scripts/search-filename.ps1 | 2 +- Scripts/search-files.ps1 | 2 +- Scripts/send-email.ps1 | 2 +- Scripts/send-tcp.ps1 | 2 +- Scripts/send-udp.ps1 | 2 +- Scripts/set-timer.ps1 | 2 +- Scripts/set-wallpaper.ps1 | 2 +- Scripts/show-lightnings.ps1 | 2 +- Scripts/show-notification.ps1 | 4 ++-- Scripts/show-traffic.ps1 | 2 +- Scripts/simulate-matrix.ps1 | 2 +- Scripts/simulate-presence.ps1 | 4 ++-- Scripts/smart-data2csv.ps1 | 2 +- Scripts/speak-checklist.ps1 | 2 +- Scripts/speak-epub.ps1 | 2 +- Scripts/speak-test.ps1 | 2 +- Scripts/spell-word.ps1 | 2 +- Scripts/switch-shelly1.ps1 | 2 +- Scripts/tell-joke.ps1 | 4 ++-- Scripts/tell-quote.ps1 | 2 +- Scripts/translate-file.ps1 | 2 +- Scripts/translate-files.ps1 | 2 +- Scripts/translate-text.ps1 | 2 +- Scripts/uninstall-nine-zip.ps1 | 4 ++-- Scripts/uninstall-opera-gx.ps1 | 2 +- Scripts/uninstall-paint-3d.ps1 | 2 +- Scripts/uninstall-skype.ps1 | 2 +- Scripts/upgrade-ubuntu.ps1 | 2 +- Scripts/upload-file.ps1 | 2 +- Scripts/wakeup.ps1 | 3 +-- Scripts/weather-report.ps1 | 2 +- Scripts/weather.ps1 | 2 +- Scripts/what-is.ps1 | 2 +- Scripts/write-animated.ps1 | 2 +- Scripts/write-big.ps1 | 2 +- Scripts/write-blue.ps1 | 2 +- Scripts/write-braille.ps1 | 4 ++-- Scripts/write-calendar.ps1 | 4 ++-- Scripts/write-chart.ps1 | 4 ++-- Scripts/write-green.ps1 | 4 ++-- Scripts/write-joke.ps1 | 4 ++-- Scripts/write-lowercase.ps1 | 4 ++-- Scripts/write-marquee.ps1 | 4 ++-- Scripts/write-morse-code.ps1 | 4 ++-- Scripts/write-motd.ps1 | 2 +- Scripts/write-quote.ps1 | 4 ++-- Scripts/write-red.ps1 | 4 ++-- Scripts/write-rot13.ps1 | 4 ++-- Scripts/write-typewriter.ps1 | 4 ++-- Scripts/write-uppercase.ps1 | 4 ++-- Scripts/write-vertical.ps1 | 4 ++-- 335 files changed, 460 insertions(+), 465 deletions(-) diff --git a/Scripts/add-firewall-rules.ps1 b/Scripts/add-firewall-rules.ps1 index 1ccc76b9..fb80bf5f 100755 --- a/Scripts/add-firewall-rules.ps1 +++ b/Scripts/add-firewall-rules.ps1 @@ -13,7 +13,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> #Requires -RunAsAdministrator diff --git a/Scripts/add-memo.ps1 b/Scripts/add-memo.ps1 index b6b028ca..3c7c9e58 100755 --- a/Scripts/add-memo.ps1 +++ b/Scripts/add-memo.ps1 @@ -11,7 +11,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$text = "") diff --git a/Scripts/alert.ps1 b/Scripts/alert.ps1 index cdc89a7c..71cbc86c 100755 --- a/Scripts/alert.ps1 +++ b/Scripts/alert.ps1 @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$Message = "") diff --git a/Scripts/build-repo.ps1 b/Scripts/build-repo.ps1 index 5b9d2c81..a127febb 100755 --- a/Scripts/build-repo.ps1 +++ b/Scripts/build-repo.ps1 @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$RepoDir = "$PWD") diff --git a/Scripts/change-wallpaper.ps1 b/Scripts/change-wallpaper.ps1 index 7d7887ad..3d13bdcc 100755 --- a/Scripts/change-wallpaper.ps1 +++ b/Scripts/change-wallpaper.ps1 @@ -7,10 +7,10 @@ Specifies the photo category (beach, city, ...) .EXAMPLE PS> ./change-wallpaper -.NOTES - Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> param([string]$Category = "") diff --git a/Scripts/check-date.ps1 b/Scripts/check-date.ps1 index e1f9a319..c7c2bf78 100755 --- a/Scripts/check-date.ps1 +++ b/Scripts/check-date.ps1 @@ -6,10 +6,10 @@ .EXAMPLE PS> ./check-date ✔️ It's Sunday, October 17, 2021 -.NOTES - Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/check-day.ps1 b/Scripts/check-day.ps1 index e35981e4..7e83109a 100755 --- a/Scripts/check-day.ps1 +++ b/Scripts/check-day.ps1 @@ -9,7 +9,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/check-drive-space.ps1 b/Scripts/check-drive-space.ps1 index 46d98163..fb015445 100755 --- a/Scripts/check-drive-space.ps1 +++ b/Scripts/check-drive-space.ps1 @@ -13,7 +13,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$Drive = "", [int]$MinLevel = 20) # minimum level in GB diff --git a/Scripts/check-dusk.ps1 b/Scripts/check-dusk.ps1 index 4b167d3b..57d17ae4 100755 --- a/Scripts/check-dusk.ps1 +++ b/Scripts/check-dusk.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> function TimeSpanToString { param([TimeSpan]$Delta) diff --git a/Scripts/check-easter-sunday.ps1 b/Scripts/check-easter-sunday.ps1 index 3b662e83..bfba3bfd 100755 --- a/Scripts/check-easter-sunday.ps1 +++ b/Scripts/check-easter-sunday.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/check-file-system.ps1 b/Scripts/check-file-system.ps1 index 7c8c3015..3855ae1d 100755 --- a/Scripts/check-file-system.ps1 +++ b/Scripts/check-file-system.ps1 @@ -11,7 +11,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> #Requires -RunAsAdministrator diff --git a/Scripts/check-health.ps1 b/Scripts/check-health.ps1 index 883f17e4..21594f68 100755 --- a/Scripts/check-health.ps1 +++ b/Scripts/check-health.ps1 @@ -13,7 +13,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/check-uptime.ps1" diff --git a/Scripts/check-independence-day.ps1 b/Scripts/check-independence-day.ps1 index a08779d3..d045f4b4 100755 --- a/Scripts/check-independence-day.ps1 +++ b/Scripts/check-independence-day.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/check-ipv4-address.ps1 b/Scripts/check-ipv4-address.ps1 index e43ca904..97277581 100755 --- a/Scripts/check-ipv4-address.ps1 +++ b/Scripts/check-ipv4-address.ps1 @@ -11,7 +11,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$Address = "") diff --git a/Scripts/check-ipv6-address.ps1 b/Scripts/check-ipv6-address.ps1 index a817fbc1..687cef7e 100755 --- a/Scripts/check-ipv6-address.ps1 +++ b/Scripts/check-ipv6-address.ps1 @@ -11,7 +11,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$Address = "") diff --git a/Scripts/check-iss-position.ps1 b/Scripts/check-iss-position.ps1 index e8762d5a..766adfc6 100755 --- a/Scripts/check-iss-position.ps1 +++ b/Scripts/check-iss-position.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/check-mac-address.ps1 b/Scripts/check-mac-address.ps1 index a83ca1fd..8e44e776 100755 --- a/Scripts/check-mac-address.ps1 +++ b/Scripts/check-mac-address.ps1 @@ -12,7 +12,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$MAC = "") diff --git a/Scripts/check-midnight.ps1 b/Scripts/check-midnight.ps1 index 48c9df0f..07fbcc5d 100755 --- a/Scripts/check-midnight.ps1 +++ b/Scripts/check-midnight.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> function TimeSpanToString { param([TimeSpan]$Delta) diff --git a/Scripts/check-month.ps1 b/Scripts/check-month.ps1 index a9f4bf84..ceb23380 100755 --- a/Scripts/check-month.ps1 +++ b/Scripts/check-month.ps1 @@ -9,7 +9,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/check-moon-phase.ps1 b/Scripts/check-moon-phase.ps1 index c02cbec8..1eee6a4d 100755 --- a/Scripts/check-moon-phase.ps1 +++ b/Scripts/check-moon-phase.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/check-new-year.ps1 b/Scripts/check-new-year.ps1 index 85dc252e..331c848d 100755 --- a/Scripts/check-new-year.ps1 +++ b/Scripts/check-new-year.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/check-noon.ps1 b/Scripts/check-noon.ps1 index 3a3df4f5..58057319 100755 --- a/Scripts/check-noon.ps1 +++ b/Scripts/check-noon.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> function TimeSpanToString { param([TimeSpan]$Delta) diff --git a/Scripts/check-operating-system.ps1 b/Scripts/check-operating-system.ps1 index 2d271317..d1405398 100755 --- a/Scripts/check-operating-system.ps1 +++ b/Scripts/check-operating-system.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/check-outlook.ps1 b/Scripts/check-outlook.ps1 index 281f9ae1..d7f56068 100755 --- a/Scripts/check-outlook.ps1 +++ b/Scripts/check-outlook.ps1 @@ -36,4 +36,4 @@ try { } catch { "Sorry: $($Error[0])" exit 1 -} \ No newline at end of file +} diff --git a/Scripts/check-ping.ps1 b/Scripts/check-ping.ps1 index e6f9a035..ebdd42d6 100755 --- a/Scripts/check-ping.ps1 +++ b/Scripts/check-ping.ps1 @@ -1,6 +1,6 @@ <# .SYNOPSIS - Checks the ping latency from the local computer to selected Internet hosts + Checks the ping latency to selected Internet hosts .DESCRIPTION This PowerShell script checks the ping latency from the local computer to selected Internet hosts. The hosts by default are: amazon.com,bing.com,cnn.com,dropbox.com,facebook.com,google.com,live.com,twitter.com,youtube.com @@ -12,7 +12,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$hosts = "amazon.com,bing.com,cnn.com,dropbox.com,facebook.com,google.com,live.com,twitter.com,youtube.com") diff --git a/Scripts/check-santa.ps1 b/Scripts/check-santa.ps1 index dbe90e5a..785f1658 100755 --- a/Scripts/check-santa.ps1 +++ b/Scripts/check-santa.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/check-smart-devices.ps1 b/Scripts/check-smart-devices.ps1 index 560b2ee7..97c05bef 100755 --- a/Scripts/check-smart-devices.ps1 +++ b/Scripts/check-smart-devices.ps1 @@ -12,7 +12,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> #Requires -RunAsAdministrator diff --git a/Scripts/check-subnet-mask.ps1 b/Scripts/check-subnet-mask.ps1 index 2a7dfc41..2f6620dd 100755 --- a/Scripts/check-subnet-mask.ps1 +++ b/Scripts/check-subnet-mask.ps1 @@ -11,7 +11,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$address = "") diff --git a/Scripts/check-swap-space.ps1 b/Scripts/check-swap-space.ps1 index 23a8a115..9c9c787f 100755 --- a/Scripts/check-swap-space.ps1 +++ b/Scripts/check-swap-space.ps1 @@ -11,7 +11,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([int]$MinLevel = 50) # minimum level in GB diff --git a/Scripts/check-time-zone.ps1 b/Scripts/check-time-zone.ps1 index a5a58155..0f5c1cbb 100755 --- a/Scripts/check-time-zone.ps1 +++ b/Scripts/check-time-zone.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/check-time.ps1 b/Scripts/check-time.ps1 index 220b4a01..117e2815 100755 --- a/Scripts/check-time.ps1 +++ b/Scripts/check-time.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/check-uptime.ps1 b/Scripts/check-uptime.ps1 index d86f619f..ce4a71cb 100755 --- a/Scripts/check-uptime.ps1 +++ b/Scripts/check-uptime.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/check-weather.ps1 b/Scripts/check-weather.ps1 index 02f21777..64089e38 100755 --- a/Scripts/check-weather.ps1 +++ b/Scripts/check-weather.ps1 @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$location = "") # empty means determine automatically diff --git a/Scripts/check-week.ps1 b/Scripts/check-week.ps1 index 9e34a2d2..f6b5602f 100755 --- a/Scripts/check-week.ps1 +++ b/Scripts/check-week.ps1 @@ -6,10 +6,10 @@ .EXAMPLE PS> ./check-week ✔️ It's week #4. -.NOTES - Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/check-wind.ps1 b/Scripts/check-wind.ps1 index 001b4d67..b87ff2c2 100755 --- a/Scripts/check-wind.ps1 +++ b/Scripts/check-wind.ps1 @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$location = "") # empty means determine automatically diff --git a/Scripts/check-windows-system-files.ps1 b/Scripts/check-windows-system-files.ps1 index c1f948c2..05cca3bc 100755 --- a/Scripts/check-windows-system-files.ps1 +++ b/Scripts/check-windows-system-files.ps1 @@ -9,7 +9,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> #Requires -RunAsAdministrator diff --git a/Scripts/check-xml-file.ps1 b/Scripts/check-xml-file.ps1 index 7affae1e..0c12747d 100755 --- a/Scripts/check-xml-file.ps1 +++ b/Scripts/check-xml-file.ps1 @@ -11,7 +11,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$file = "") diff --git a/Scripts/clean-repos.ps1 b/Scripts/clean-repos.ps1 index eee94824..176e18da 100755 --- a/Scripts/clean-repos.ps1 +++ b/Scripts/clean-repos.ps1 @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$ParentDir = "$PWD") diff --git a/Scripts/clear-recycle-bin.ps1 b/Scripts/clear-recycle-bin.ps1 index d2085729..88234b4d 100755 --- a/Scripts/clear-recycle-bin.ps1 +++ b/Scripts/clear-recycle-bin.ps1 @@ -9,7 +9,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/close-calculator.ps1 b/Scripts/close-calculator.ps1 index f179cadf..e16357ce 100755 --- a/Scripts/close-calculator.ps1 +++ b/Scripts/close-calculator.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> TaskKill /im Calculator.exe /f /t diff --git a/Scripts/close-chrome.ps1 b/Scripts/close-chrome.ps1 index c0c5d570..aa821db1 100755 --- a/Scripts/close-chrome.ps1 +++ b/Scripts/close-chrome.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/close-program.ps1" "Google Chrome" "chrome" "chrome" diff --git a/Scripts/close-cortana.ps1 b/Scripts/close-cortana.ps1 index 3d5e50b7..2d4f126b 100755 --- a/Scripts/close-cortana.ps1 +++ b/Scripts/close-cortana.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/close-program.ps1" "Cortana" "Cortana" "Cortana" diff --git a/Scripts/close-edge.ps1 b/Scripts/close-edge.ps1 index d343c3d1..972596c1 100755 --- a/Scripts/close-edge.ps1 +++ b/Scripts/close-edge.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> TaskKill /im msedge.exe /f /t diff --git a/Scripts/close-file-explorer.ps1 b/Scripts/close-file-explorer.ps1 index 109d316d..4def2e0e 100755 --- a/Scripts/close-file-explorer.ps1 +++ b/Scripts/close-file-explorer.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> (New-Object -ComObject Shell.Application).Windows() | %{$_.quit()} diff --git a/Scripts/close-firefox.ps1 b/Scripts/close-firefox.ps1 index 3498d5ab..ff5902ee 100755 --- a/Scripts/close-firefox.ps1 +++ b/Scripts/close-firefox.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/close-program.ps1" "Mozilla Firefox" "firefox" "firefox" diff --git a/Scripts/close-git-extensions.ps1 b/Scripts/close-git-extensions.ps1 index 0f21fb0b..2d044395 100755 --- a/Scripts/close-git-extensions.ps1 +++ b/Scripts/close-git-extensions.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> TaskKill /im GitExtensions.exe diff --git a/Scripts/close-magnifier.ps1 b/Scripts/close-magnifier.ps1 index 915024c6..63a42808 100755 --- a/Scripts/close-magnifier.ps1 +++ b/Scripts/close-magnifier.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> tskill magnify diff --git a/Scripts/close-microsoft-paint.ps1 b/Scripts/close-microsoft-paint.ps1 index a9b80b84..71a6b2d1 100755 --- a/Scripts/close-microsoft-paint.ps1 +++ b/Scripts/close-microsoft-paint.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> TaskKill /im mspaint.exe diff --git a/Scripts/close-microsoft-store.ps1 b/Scripts/close-microsoft-store.ps1 index beb56c32..91755b3e 100755 --- a/Scripts/close-microsoft-store.ps1 +++ b/Scripts/close-microsoft-store.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> TaskKill /im WinStore.App.exe /f /t diff --git a/Scripts/close-netflix.ps1 b/Scripts/close-netflix.ps1 index 86d21291..9d6e1214 100755 --- a/Scripts/close-netflix.ps1 +++ b/Scripts/close-netflix.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/close-program.ps1" "Netflix" "ApplicationFrameHost" "RuntimeBroker" diff --git a/Scripts/close-note-pad.ps1 b/Scripts/close-note-pad.ps1 index 3066f39e..93321842 100755 --- a/Scripts/close-note-pad.ps1 +++ b/Scripts/close-note-pad.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/close-program.ps1" "Notepad" "notepad" "notepad" diff --git a/Scripts/close-obs-studio.ps1 b/Scripts/close-obs-studio.ps1 index 5a6e141c..edc353f2 100755 --- a/Scripts/close-obs-studio.ps1 +++ b/Scripts/close-obs-studio.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> TaskKill /im obs64.exe diff --git a/Scripts/close-one-calendar.ps1 b/Scripts/close-one-calendar.ps1 index c81a618b..4c010704 100755 --- a/Scripts/close-one-calendar.ps1 +++ b/Scripts/close-one-calendar.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> TaskKill /f /im CalendarApp.Gui.Win10.exe diff --git a/Scripts/close-outlook.ps1 b/Scripts/close-outlook.ps1 index 9d99e82c..b444d6e2 100755 --- a/Scripts/close-outlook.ps1 +++ b/Scripts/close-outlook.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> TaskKill /im outlook.exe diff --git a/Scripts/close-paint-three-d.ps1 b/Scripts/close-paint-three-d.ps1 index 9ea3e9cd..c705bf2f 100755 --- a/Scripts/close-paint-three-d.ps1 +++ b/Scripts/close-paint-three-d.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> TaskKill /im PaintStudio.View.exe /f diff --git a/Scripts/close-program.ps1 b/Scripts/close-program.ps1 index a2cbe7f2..c6dee022 100755 --- a/Scripts/close-program.ps1 +++ b/Scripts/close-program.ps1 @@ -14,7 +14,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$FullProgramName = "", [string]$ProgramName = "", [string]$ProgramAliasName = "") diff --git a/Scripts/close-serenade.ps1 b/Scripts/close-serenade.ps1 index 51d22f95..01f401ff 100755 --- a/Scripts/close-serenade.ps1 +++ b/Scripts/close-serenade.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/close-program.ps1" "Serenade.ai" "serenade" "" diff --git a/Scripts/close-snipping-tool.ps1 b/Scripts/close-snipping-tool.ps1 index ad1693e5..c0a5433a 100755 --- a/Scripts/close-snipping-tool.ps1 +++ b/Scripts/close-snipping-tool.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/close-program.ps1" "Snipping Tool" "SnippingTool.exe" "" diff --git a/Scripts/close-spotify.ps1 b/Scripts/close-spotify.ps1 index ab4cad93..c52f9143 100755 --- a/Scripts/close-spotify.ps1 +++ b/Scripts/close-spotify.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/close-program.ps1" "Spotify" "spotify" "" diff --git a/Scripts/close-task-manager.ps1 b/Scripts/close-task-manager.ps1 index 1b6e03e0..bcf1f002 100755 --- a/Scripts/close-task-manager.ps1 +++ b/Scripts/close-task-manager.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> tskill taskmgr diff --git a/Scripts/close-three-d-viewer.ps1 b/Scripts/close-three-d-viewer.ps1 index 22063bd1..332b7a13 100755 --- a/Scripts/close-three-d-viewer.ps1 +++ b/Scripts/close-three-d-viewer.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> TaskKill /im 3DViewer.exe /f diff --git a/Scripts/close-thunderbird.ps1 b/Scripts/close-thunderbird.ps1 index 04d2396a..ee486d60 100755 --- a/Scripts/close-thunderbird.ps1 +++ b/Scripts/close-thunderbird.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> TaskKill /im thunderbird.exe diff --git a/Scripts/close-visual-studio.ps1 b/Scripts/close-visual-studio.ps1 index d545f19a..2fa965e1 100755 --- a/Scripts/close-visual-studio.ps1 +++ b/Scripts/close-visual-studio.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> TaskKill /im devenv.exe diff --git a/Scripts/close-vlc.ps1 b/Scripts/close-vlc.ps1 index cbc32a62..c83f5f98 100755 --- a/Scripts/close-vlc.ps1 +++ b/Scripts/close-vlc.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/close-program.ps1" "VLC media player" "vlc" "vlc" diff --git a/Scripts/close-windows-terminal.ps1 b/Scripts/close-windows-terminal.ps1 index 560b44c8..8c5848b3 100755 --- a/Scripts/close-windows-terminal.ps1 +++ b/Scripts/close-windows-terminal.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/close-program.ps1" "Windows Terminal" "WindowsTerminal" "WindowsTerminal" diff --git a/Scripts/convert-csv2txt.ps1 b/Scripts/convert-csv2txt.ps1 index d71e8941..933c0b9d 100755 --- a/Scripts/convert-csv2txt.ps1 +++ b/Scripts/convert-csv2txt.ps1 @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$Path = "") diff --git a/Scripts/convert-mysql2csv.ps1 b/Scripts/convert-mysql2csv.ps1 index e746fcfd..ccb3ae71 100755 --- a/Scripts/convert-mysql2csv.ps1 +++ b/Scripts/convert-mysql2csv.ps1 @@ -18,7 +18,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> diff --git a/Scripts/convert-ps2bat.ps1 b/Scripts/convert-ps2bat.ps1 index 6400ab80..8273f43f 100755 --- a/Scripts/convert-ps2bat.ps1 +++ b/Scripts/convert-ps2bat.ps1 @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$Filepattern = "") diff --git a/Scripts/convert-ps2md.ps1 b/Scripts/convert-ps2md.ps1 index 9f80ba7a..52617534 100755 --- a/Scripts/convert-ps2md.ps1 +++ b/Scripts/convert-ps2md.ps1 @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$filename = "") diff --git a/Scripts/convert-sql2csv.ps1 b/Scripts/convert-sql2csv.ps1 index 72637d3f..0116916a 100755 --- a/Scripts/convert-sql2csv.ps1 +++ b/Scripts/convert-sql2csv.ps1 @@ -18,7 +18,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$server = "", [string]$database = "", [string]$username = "", [string]$password = "", [string]$query = "") diff --git a/Scripts/convert-txt2wav.ps1 b/Scripts/convert-txt2wav.ps1 index bc23b5ae..d6d55a7b 100755 --- a/Scripts/convert-txt2wav.ps1 +++ b/Scripts/convert-txt2wav.ps1 @@ -12,7 +12,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$Text = "", [string]$WavFile = "") diff --git a/Scripts/display-time.ps1 b/Scripts/display-time.ps1 index 9a04ccf9..4e34e0f7 100755 --- a/Scripts/display-time.ps1 +++ b/Scripts/display-time.ps1 @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([int]$Seconds = 10) diff --git a/Scripts/download-dir.ps1 b/Scripts/download-dir.ps1 index 5478f795..ef28658b 100755 --- a/Scripts/download-dir.ps1 +++ b/Scripts/download-dir.ps1 @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$URL = "") diff --git a/Scripts/download-file.ps1 b/Scripts/download-file.ps1 index 26a7d3fc..554ac90b 100755 --- a/Scripts/download-file.ps1 +++ b/Scripts/download-file.ps1 @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$URL = "") diff --git a/Scripts/edit.ps1 b/Scripts/edit.ps1 index 9d447641..7d60308a 100755 --- a/Scripts/edit.ps1 +++ b/Scripts/edit.ps1 @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$Filename = "") diff --git a/Scripts/enable-crash-dumps.ps1 b/Scripts/enable-crash-dumps.ps1 index ab070fa7..78fe3108 100755 --- a/Scripts/enable-crash-dumps.ps1 +++ b/Scripts/enable-crash-dumps.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> ################################################################## diff --git a/Scripts/enable-god-mode.ps1 b/Scripts/enable-god-mode.ps1 index a507474f..05f620d4 100755 --- a/Scripts/enable-god-mode.ps1 +++ b/Scripts/enable-god-mode.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/enter-chat.ps1 b/Scripts/enter-chat.ps1 index 8bb05b7b..5ec4d1b6 100755 --- a/Scripts/enter-chat.ps1 +++ b/Scripts/enter-chat.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz · License: CC0 + Author: Markus Fleschutz | License: CC0 #> # make sure you adjust this path diff --git a/Scripts/export-to-manuals.ps1 b/Scripts/export-to-manuals.ps1 index 852ebbfd..841025c9 100755 --- a/Scripts/export-to-manuals.ps1 +++ b/Scripts/export-to-manuals.ps1 @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> #requires -version 2 diff --git a/Scripts/get-md5.ps1 b/Scripts/get-md5.ps1 index 21e6a530..7ea04152 100755 --- a/Scripts/get-md5.ps1 +++ b/Scripts/get-md5.ps1 @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$file = "") diff --git a/Scripts/get-sha1.ps1 b/Scripts/get-sha1.ps1 index 0476cc82..aa8b5bd1 100755 --- a/Scripts/get-sha1.ps1 +++ b/Scripts/get-sha1.ps1 @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$file = "") diff --git a/Scripts/get-sha256.ps1 b/Scripts/get-sha256.ps1 index 01d8c322..9cbd552f 100755 --- a/Scripts/get-sha256.ps1 +++ b/Scripts/get-sha256.ps1 @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$file = "") diff --git a/Scripts/give-reply.ps1 b/Scripts/give-reply.ps1 index a0f09e78..11866213 100755 --- a/Scripts/give-reply.ps1 +++ b/Scripts/give-reply.ps1 @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$text = "") diff --git a/Scripts/inspect-exe.ps1 b/Scripts/inspect-exe.ps1 index f27b8f48..4aafe990 100755 --- a/Scripts/inspect-exe.ps1 +++ b/Scripts/inspect-exe.ps1 @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$PathToExe = "") diff --git a/Scripts/install-chrome-browser.ps1 b/Scripts/install-chrome-browser.ps1 index 5f5ad4ba..05c35e94 100755 --- a/Scripts/install-chrome-browser.ps1 +++ b/Scripts/install-chrome-browser.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/install-github-cli.ps1 b/Scripts/install-github-cli.ps1 index 17ae6f39..2cad9e05 100755 --- a/Scripts/install-github-cli.ps1 +++ b/Scripts/install-github-cli.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/install-obs-studio.ps1 b/Scripts/install-obs-studio.ps1 index 1777b664..10d6d592 100755 --- a/Scripts/install-obs-studio.ps1 +++ b/Scripts/install-obs-studio.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> #Requires -RunAsAdministrator diff --git a/Scripts/install-signal-cli.ps1 b/Scripts/install-signal-cli.ps1 index 5f008ac3..ac4dc59c 100755 --- a/Scripts/install-signal-cli.ps1 +++ b/Scripts/install-signal-cli.ps1 @@ -11,7 +11,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$Version = "") diff --git a/Scripts/install-updates.ps1 b/Scripts/install-updates.ps1 index 13c9204a..09304ec9 100755 --- a/Scripts/install-updates.ps1 +++ b/Scripts/install-updates.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> #Requires -RunAsAdministrator diff --git a/Scripts/install-wsl.ps1 b/Scripts/install-wsl.ps1 index 08a1d30e..5d1d4399 100755 --- a/Scripts/install-wsl.ps1 +++ b/Scripts/install-wsl.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> #Requires -RunAsAdministrator diff --git a/Scripts/introduce-powershell.ps1 b/Scripts/introduce-powershell.ps1 index d83e8b15..58337cc7 100755 --- a/Scripts/introduce-powershell.ps1 +++ b/Scripts/introduce-powershell.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/list-aliases.ps1 b/Scripts/list-aliases.ps1 index 1e075de9..900f001a 100755 --- a/Scripts/list-aliases.ps1 +++ b/Scripts/list-aliases.ps1 @@ -14,7 +14,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/list-anagrams.ps1 b/Scripts/list-anagrams.ps1 index 15955bad..5d0c8368 100755 --- a/Scripts/list-anagrams.ps1 +++ b/Scripts/list-anagrams.ps1 @@ -12,7 +12,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$Word = "", [int]$Columns = 8) diff --git a/Scripts/list-automatic-variables.ps1 b/Scripts/list-automatic-variables.ps1 index 7359f823..c0759c60 100755 --- a/Scripts/list-automatic-variables.ps1 +++ b/Scripts/list-automatic-variables.ps1 @@ -14,7 +14,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> function AddItem { param([string]$Variable, [string]$Content) diff --git a/Scripts/list-bluetooth-devices.ps1 b/Scripts/list-bluetooth-devices.ps1 index cfb5b9bc..f1f04e88 100755 --- a/Scripts/list-bluetooth-devices.ps1 +++ b/Scripts/list-bluetooth-devices.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/list-branches.ps1 b/Scripts/list-branches.ps1 index a3021d74..c1e80192 100755 --- a/Scripts/list-branches.ps1 +++ b/Scripts/list-branches.ps1 @@ -12,7 +12,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$RepoDir = "$PWD", [string]$SearchPattern = "*") diff --git a/Scripts/list-cheat-sheet.ps1 b/Scripts/list-cheat-sheet.ps1 index 556bf2ab..624b2486 100755 --- a/Scripts/list-cheat-sheet.ps1 +++ b/Scripts/list-cheat-sheet.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> "PowerShell Cheat Sheet" diff --git a/Scripts/list-clipboard.ps1 b/Scripts/list-clipboard.ps1 index 208af139..b2c3a6d4 100755 --- a/Scripts/list-clipboard.ps1 +++ b/Scripts/list-clipboard.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/list-cmdlets.ps1 b/Scripts/list-cmdlets.ps1 index 79e6fe90..6b4f76e9 100755 --- a/Scripts/list-cmdlets.ps1 +++ b/Scripts/list-cmdlets.ps1 @@ -14,7 +14,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/list-commits.ps1 b/Scripts/list-commits.ps1 index 932d6f5d..1df981ea 100755 --- a/Scripts/list-commits.ps1 +++ b/Scripts/list-commits.ps1 @@ -18,7 +18,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$RepoDir = "$PWD", [string]$Format = "list") diff --git a/Scripts/list-console-colors.ps1 b/Scripts/list-console-colors.ps1 index d0a6a510..39e6ec63 100755 --- a/Scripts/list-console-colors.ps1 +++ b/Scripts/list-console-colors.ps1 @@ -12,7 +12,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/list-countries.ps1 b/Scripts/list-countries.ps1 index c0df1b12..fa5941f2 100755 --- a/Scripts/list-countries.ps1 +++ b/Scripts/list-countries.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> function ListCountries { diff --git a/Scripts/list-credits.ps1 b/Scripts/list-credits.ps1 index 3405819a..81bd68c5 100755 --- a/Scripts/list-credits.ps1 +++ b/Scripts/list-credits.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/list-crypto-rates.ps1 b/Scripts/list-crypto-rates.ps1 index 2850eeed..45656e56 100755 --- a/Scripts/list-crypto-rates.ps1 +++ b/Scripts/list-crypto-rates.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> function ListCryptoRate { param([string]$Symbol, [string]$Name) diff --git a/Scripts/list-dir-tree.ps1 b/Scripts/list-dir-tree.ps1 index e8f80c95..5ef7338b 100755 --- a/Scripts/list-dir-tree.ps1 +++ b/Scripts/list-dir-tree.ps1 @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$DirTree = "$PWD") diff --git a/Scripts/list-drives.ps1 b/Scripts/list-drives.ps1 index 382d917e..2cd799af 100755 --- a/Scripts/list-drives.ps1 +++ b/Scripts/list-drives.ps1 @@ -12,7 +12,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/list-emojis.ps1 b/Scripts/list-emojis.ps1 index 978ba06d..f5779dd5 100755 --- a/Scripts/list-emojis.ps1 +++ b/Scripts/list-emojis.ps1 @@ -8,11 +8,11 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> -"Emojis by Category (Unicode 13.0)" -"=================================" +"Emojis of Unicode 13.0 sorted by Category" +"=========================================" "" "Smileys: 😀 😁 😂 🤣 😃 😄 😅 😆 😉 😊 😋 😎 😍 😘 🥰 😗 😙 😚 ☺️ 🙂 🤗 🤩 🤔 🤨 😐 😑 😶 🙄 😏 😣 😥 😮 🤐 😯 😪 😫 😴 😌 😛 😜 😝 🤤 😒 😓 😔 😕 🙃 🤑 😲 ☹️ 🙁 😖 😞 😟 😤 😢 😭 😦 😧 😨 😩 🤯 😬 😰 😱 🥵 🥶 😳 🤪 😵 😡 😠 🤬 😷 🤒 🤕 🤢 🤮 🤧 😇 🤠 🤡 🥳 🥴 🥺 🤥 🤫 🤭 🧐 🤓 😈 👿 👹 👺 💀 👻 👽 🤖 💩 😺 😸 😹 😻 😼 😽 🙀 😿 😾" "" diff --git a/Scripts/list-empty-dirs.ps1 b/Scripts/list-empty-dirs.ps1 index 736e758f..06805deb 100755 --- a/Scripts/list-empty-dirs.ps1 +++ b/Scripts/list-empty-dirs.ps1 @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$DirTree = "$PWD") diff --git a/Scripts/list-empty-files.ps1 b/Scripts/list-empty-files.ps1 index 1f9dc233..76d009e0 100755 --- a/Scripts/list-empty-files.ps1 +++ b/Scripts/list-empty-files.ps1 @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$DirTree = "") diff --git a/Scripts/list-environment-variables.ps1 b/Scripts/list-environment-variables.ps1 index c2e6edc6..9c668c20 100755 --- a/Scripts/list-environment-variables.ps1 +++ b/Scripts/list-environment-variables.ps1 @@ -14,7 +14,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/list-exchange-rates.ps1 b/Scripts/list-exchange-rates.ps1 index 5eba7f67..02b67b1c 100755 --- a/Scripts/list-exchange-rates.ps1 +++ b/Scripts/list-exchange-rates.ps1 @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$currency = "USD") diff --git a/Scripts/list-fibonacci.ps1 b/Scripts/list-fibonacci.ps1 index f9e22d46..f4dc37b2 100755 --- a/Scripts/list-fibonacci.ps1 +++ b/Scripts/list-fibonacci.ps1 @@ -1,3 +1,16 @@ +<# +.SYNOPSIS + Lists the Fibonacci numbers +.DESCRIPTION + This PowerShell script lists the Fibonacci numbers. +.EXAMPLE + PS> ./list-fibonacci +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + function fibonacci($n) { if ($n -lt 2) { return 1 } return (fibonacci($n - 1)) + (fibonacci($n - 2)) @@ -7,4 +20,4 @@ function fibonacci($n) { foreach ($i in 0..100) { Write-Host "$(fibonacci $i), " -noNewline } -exit 0 # success \ No newline at end of file +exit 0 # success diff --git a/Scripts/list-files.ps1 b/Scripts/list-files.ps1 index 25a7a4ad..a596149d 100755 --- a/Scripts/list-files.ps1 +++ b/Scripts/list-files.ps1 @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$DirTree = "") diff --git a/Scripts/list-folder.ps1 b/Scripts/list-folder.ps1 index 6ea57bf7..d5d07a60 100755 --- a/Scripts/list-folder.ps1 +++ b/Scripts/list-folder.ps1 @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$SearchPattern = "*") diff --git a/Scripts/list-fritzbox-calls.ps1 b/Scripts/list-fritzbox-calls.ps1 index 40035dff..175d689b 100755 --- a/Scripts/list-fritzbox-calls.ps1 +++ b/Scripts/list-fritzbox-calls.ps1 @@ -12,7 +12,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> #Requires -Version 3 diff --git a/Scripts/list-fritzbox-devices.ps1 b/Scripts/list-fritzbox-devices.ps1 index 84c0296d..fd4d512f 100755 --- a/Scripts/list-fritzbox-devices.ps1 +++ b/Scripts/list-fritzbox-devices.ps1 @@ -12,7 +12,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> #Requires -Version 3 diff --git a/Scripts/list-headlines.ps1 b/Scripts/list-headlines.ps1 index 99cba6bb..45875a6e 100755 --- a/Scripts/list-headlines.ps1 +++ b/Scripts/list-headlines.ps1 @@ -12,7 +12,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$RSS_URL = "https://yahoo.com/news/rss/world", [int]$MaxCount = 20) diff --git a/Scripts/list-hidden-files.ps1 b/Scripts/list-hidden-files.ps1 index f8d182c5..c7384a0c 100755 --- a/Scripts/list-hidden-files.ps1 +++ b/Scripts/list-hidden-files.ps1 @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$DirTree = "$PWD") diff --git a/Scripts/list-installed-apps.ps1 b/Scripts/list-installed-apps.ps1 index 03cc3023..ef413d6e 100755 --- a/Scripts/list-installed-apps.ps1 +++ b/Scripts/list-installed-apps.ps1 @@ -8,14 +8,14 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { if ($IsLinux) { & snap list } else { - get-appxPackage | select-object Name,Version | format-table -autoSize + Get-AppxPackage | Select-Object Name,Version | Format-Table -autoSize } exit 0 # success } catch { diff --git a/Scripts/list-installed-software.ps1 b/Scripts/list-installed-software.ps1 index ab079c9a..36023d42 100755 --- a/Scripts/list-installed-software.ps1 +++ b/Scripts/list-installed-software.ps1 @@ -8,12 +8,11 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { - get-itemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*, HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*, HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* | select-object DisplayName,DisplayVersion,InstallDate | format-table -autoSize - + Get-ItemProperty HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*, HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*, HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\* | select-object DisplayName,DisplayVersion,InstallDate | Format-Table -autoSize exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" diff --git a/Scripts/list-latest-tag.ps1 b/Scripts/list-latest-tag.ps1 index e526974a..3b1c0fa6 100755 --- a/Scripts/list-latest-tag.ps1 +++ b/Scripts/list-latest-tag.ps1 @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$RepoDir = "$PWD") diff --git a/Scripts/list-latest-tags.ps1 b/Scripts/list-latest-tags.ps1 index 345bad9a..18dcb49f 100755 --- a/Scripts/list-latest-tags.ps1 +++ b/Scripts/list-latest-tags.ps1 @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$ParentDir = "$PWD") diff --git a/Scripts/list-memos.ps1 b/Scripts/list-memos.ps1 index 43aa411a..7455f983 100755 --- a/Scripts/list-memos.ps1 +++ b/Scripts/list-memos.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> diff --git a/Scripts/list-modules.ps1 b/Scripts/list-modules.ps1 index 82cdb127..e49dc5b5 100755 --- a/Scripts/list-modules.ps1 +++ b/Scripts/list-modules.ps1 @@ -13,11 +13,11 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { - get-module | format-table + Get-Module | Format-Table exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" diff --git a/Scripts/list-mysql-tables.ps1 b/Scripts/list-mysql-tables.ps1 index 9b4cc083..08d1ce51 100755 --- a/Scripts/list-mysql-tables.ps1 +++ b/Scripts/list-mysql-tables.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> # This script lists all of the tables in a MySQL database and exports the list as a CSV diff --git a/Scripts/list-network-shares.ps1 b/Scripts/list-network-shares.ps1 index 3f68138f..47d8ad75 100755 --- a/Scripts/list-network-shares.ps1 +++ b/Scripts/list-network-shares.ps1 @@ -12,11 +12,11 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { - get-wmiobject win32_share | where {$_.name -NotLike "*$"} + Get-WmiObject win32_share | where {$_.name -NotLike "*$"} exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" diff --git a/Scripts/list-os-releases.ps1 b/Scripts/list-os-releases.ps1 index d486f657..90cea4ef 100755 --- a/Scripts/list-os-releases.ps1 +++ b/Scripts/list-os-releases.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/list-os-updates.ps1 b/Scripts/list-os-updates.ps1 index c2c7d3d6..08144803 100755 --- a/Scripts/list-os-updates.ps1 +++ b/Scripts/list-os-updates.ps1 @@ -12,7 +12,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$RSS_URL = "https://distrowatch.com/news/dwd.xml", [int]$MaxCount = 20) diff --git a/Scripts/list-passwords.ps1 b/Scripts/list-passwords.ps1 index f555ec6b..2087d2f4 100755 --- a/Scripts/list-passwords.ps1 +++ b/Scripts/list-passwords.ps1 @@ -14,7 +14,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([int]$PasswordLength = 15, [int]$Columns = 6, [int]$Rows = 30) diff --git a/Scripts/list-pins.ps1 b/Scripts/list-pins.ps1 index b13f2c9d..30bf391c 100755 --- a/Scripts/list-pins.ps1 +++ b/Scripts/list-pins.ps1 @@ -14,7 +14,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([int]$PinLength = 5, [int]$Columns = 12, [int]$Rows = 30) diff --git a/Scripts/list-print-jobs.ps1 b/Scripts/list-print-jobs.ps1 index d61bb77b..773956c3 100755 --- a/Scripts/list-print-jobs.ps1 +++ b/Scripts/list-print-jobs.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> #Requires -Version 4 diff --git a/Scripts/list-printers.ps1 b/Scripts/list-printers.ps1 index 60858224..b9b08d06 100755 --- a/Scripts/list-printers.ps1 +++ b/Scripts/list-printers.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/list-processes.ps1 b/Scripts/list-processes.ps1 index 8a6bce4f..f35c9cc2 100755 --- a/Scripts/list-processes.ps1 +++ b/Scripts/list-processes.ps1 @@ -14,7 +14,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/list-profiles.ps1 b/Scripts/list-profiles.ps1 index bba46f52..1da34678 100755 --- a/Scripts/list-profiles.ps1 +++ b/Scripts/list-profiles.ps1 @@ -15,7 +15,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> function ListProfile { param([int]$Level, [string]$Profile, [string]$Location) diff --git a/Scripts/list-recycle-bin.ps1 b/Scripts/list-recycle-bin.ps1 index 7aedd530..e0386e65 100755 --- a/Scripts/list-recycle-bin.ps1 +++ b/Scripts/list-recycle-bin.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/list-scripts.ps1 b/Scripts/list-scripts.ps1 index 2d2fe667..476330aa 100755 --- a/Scripts/list-scripts.ps1 +++ b/Scripts/list-scripts.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> function ListScripts { param([string]$FilePath) diff --git a/Scripts/list-services.ps1 b/Scripts/list-services.ps1 index 2d6a72be..0f487e0f 100755 --- a/Scripts/list-services.ps1 +++ b/Scripts/list-services.ps1 @@ -14,7 +14,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/list-sql-tables.ps1 b/Scripts/list-sql-tables.ps1 index 1b25d8fe..e89cf43e 100755 --- a/Scripts/list-sql-tables.ps1 +++ b/Scripts/list-sql-tables.ps1 @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param( diff --git a/Scripts/list-submodules.ps1 b/Scripts/list-submodules.ps1 index 889d0cdf..f7d20c75 100755 --- a/Scripts/list-submodules.ps1 +++ b/Scripts/list-submodules.ps1 @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$RepoDir = "$PWD") diff --git a/Scripts/list-system-info.ps1 b/Scripts/list-system-info.ps1 index fd25ee52..17515454 100755 --- a/Scripts/list-system-info.ps1 +++ b/Scripts/list-system-info.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> # RAM diff --git a/Scripts/list-tags.ps1 b/Scripts/list-tags.ps1 index 23fa12ff..775c19eb 100755 --- a/Scripts/list-tags.ps1 +++ b/Scripts/list-tags.ps1 @@ -17,7 +17,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$RepoDir = "$PWD", [string]$SearchPattern="*") diff --git a/Scripts/list-tasks.ps1 b/Scripts/list-tasks.ps1 index 9dbd6858..aed9afe1 100755 --- a/Scripts/list-tasks.ps1 +++ b/Scripts/list-tasks.ps1 @@ -14,7 +14,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/list-timezone.ps1 b/Scripts/list-timezone.ps1 index b3c7315e..895bca46 100755 --- a/Scripts/list-timezone.ps1 +++ b/Scripts/list-timezone.ps1 @@ -15,7 +15,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/list-timezones.ps1 b/Scripts/list-timezones.ps1 index 13f0b3a8..8245a41a 100755 --- a/Scripts/list-timezones.ps1 +++ b/Scripts/list-timezones.ps1 @@ -15,11 +15,11 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { - get-timezone -listavailable | format-table -property Id,DisplayName,SupportsDaylightSavingTime + Get-Timezone -listavailable | Format-Table -property Id,DisplayName,SupportsDaylightSavingTime exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" diff --git a/Scripts/list-tiobe-index.ps1 b/Scripts/list-tiobe-index.ps1 index b52cb151..4425ee02 100755 --- a/Scripts/list-tiobe-index.ps1 +++ b/Scripts/list-tiobe-index.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> function WriteBar { param([string]$Text, [float]$Value, [float]$Max, [float]$Change) diff --git a/Scripts/list-unused-files.ps1 b/Scripts/list-unused-files.ps1 index a414a767..a0c29968 100755 --- a/Scripts/list-unused-files.ps1 +++ b/Scripts/list-unused-files.ps1 @@ -12,7 +12,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$DirTree = "", [int]$Days = 100) diff --git a/Scripts/list-user-groups.ps1 b/Scripts/list-user-groups.ps1 index 4d650e7b..b74b1108 100755 --- a/Scripts/list-user-groups.ps1 +++ b/Scripts/list-user-groups.ps1 @@ -14,7 +14,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/list-weather.ps1 b/Scripts/list-weather.ps1 index fa9f39d4..cdc7b60e 100755 --- a/Scripts/list-weather.ps1 +++ b/Scripts/list-weather.ps1 @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$Location = "") # empty means determine automatically diff --git a/Scripts/list-workdir.ps1 b/Scripts/list-workdir.ps1 index 001e7a91..05fd2675 100755 --- a/Scripts/list-workdir.ps1 +++ b/Scripts/list-workdir.ps1 @@ -8,11 +8,11 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { - $CWD = resolve-path "$PWD" + $CWD = Resolve-Path "$PWD" "📂$CWD" exit 0 # success } catch { diff --git a/Scripts/locate-city.ps1 b/Scripts/locate-city.ps1 index 0da7962b..9e0a174a 100755 --- a/Scripts/locate-city.ps1 +++ b/Scripts/locate-city.ps1 @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$City = "") diff --git a/Scripts/locate-ipaddress.ps1 b/Scripts/locate-ipaddress.ps1 index dfaa693b..5fcc7691 100755 --- a/Scripts/locate-ipaddress.ps1 +++ b/Scripts/locate-ipaddress.ps1 @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$IPaddress= "") diff --git a/Scripts/locate-my-phone.ps1 b/Scripts/locate-my-phone.ps1 index 35e6e063..49614d5a 100755 --- a/Scripts/locate-my-phone.ps1 +++ b/Scripts/locate-my-phone.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://www.google.com/android/find" diff --git a/Scripts/locate-zip-code.ps1 b/Scripts/locate-zip-code.ps1 index 30450bda..fab9fbe9 100755 --- a/Scripts/locate-zip-code.ps1 +++ b/Scripts/locate-zip-code.ps1 @@ -12,7 +12,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$CountryCode = "", [string]$ZipCode = "") diff --git a/Scripts/make-install.ps1 b/Scripts/make-install.ps1 index 561d00a3..2676071b 100755 --- a/Scripts/make-install.ps1 +++ b/Scripts/make-install.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> set SRC_DIR=%1 diff --git a/Scripts/merry-christmas.ps1 b/Scripts/merry-christmas.ps1 index f2438bae..1dd4ca24 100755 --- a/Scripts/merry-christmas.ps1 +++ b/Scripts/merry-christmas.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> $Reply = "Merry Christmas to you too!", "Happy Christmas to you too!" | Get-Random diff --git a/Scripts/moon.ps1 b/Scripts/moon.ps1 index 3116705e..78dca1be 100755 --- a/Scripts/moon.ps1 +++ b/Scripts/moon.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/new-email.ps1 b/Scripts/new-email.ps1 index 733443ac..81527f4c 100755 --- a/Scripts/new-email.ps1 +++ b/Scripts/new-email.ps1 @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$EmailAddress = "markus@fleschutz.de") diff --git a/Scripts/new-qrcode.ps1 b/Scripts/new-qrcode.ps1 index 1f2faa9d..24acc213 100755 --- a/Scripts/new-qrcode.ps1 +++ b/Scripts/new-qrcode.ps1 @@ -12,7 +12,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$Text = "", [string]$ImageSize = "") diff --git a/Scripts/new-script.ps1 b/Scripts/new-script.ps1 index 601388fe..bca4c92f 100755 --- a/Scripts/new-script.ps1 +++ b/Scripts/new-script.ps1 @@ -11,7 +11,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$filename = "") diff --git a/Scripts/new-shortcut.ps1 b/Scripts/new-shortcut.ps1 index 898fc9ba..9c9b19fe 100755 --- a/Scripts/new-shortcut.ps1 +++ b/Scripts/new-shortcut.ps1 @@ -14,7 +14,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$shortcut = "", [string]$target = "", [string]$description) diff --git a/Scripts/new-symlink.ps1 b/Scripts/new-symlink.ps1 index ad1b2698..8ee7e07e 100755 --- a/Scripts/new-symlink.ps1 +++ b/Scripts/new-symlink.ps1 @@ -12,7 +12,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$symlink = "", $[string]target = "") diff --git a/Scripts/new-tag.ps1 b/Scripts/new-tag.ps1 index 6c3d1066..a9b83087 100755 --- a/Scripts/new-tag.ps1 +++ b/Scripts/new-tag.ps1 @@ -12,7 +12,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$TagName = "", [string]$RepoDir = "$PWD") diff --git a/Scripts/new-user.ps1 b/Scripts/new-user.ps1 index 8b2df817..86138340 100755 --- a/Scripts/new-user.ps1 +++ b/Scripts/new-user.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$Username = "") diff --git a/Scripts/new-zipfile.ps1 b/Scripts/new-zipfile.ps1 index 5cb95b29..e4b00d2c 100755 --- a/Scripts/new-zipfile.ps1 +++ b/Scripts/new-zipfile.ps1 @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$folder = "") diff --git a/Scripts/open-accu-weather.ps1 b/Scripts/open-accu-weather.ps1 index 00ec92ce..5ec9aa42 100755 --- a/Scripts/open-accu-weather.ps1 +++ b/Scripts/open-accu-weather.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://www.accuweather.com" diff --git a/Scripts/open-air-b-n-b.ps1 b/Scripts/open-air-b-n-b.ps1 index 2a7ecbba..97c07aff 100755 --- a/Scripts/open-air-b-n-b.ps1 +++ b/Scripts/open-air-b-n-b.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://www.airbnb.com" diff --git a/Scripts/open-apps-folder.ps1 b/Scripts/open-apps-folder.ps1 index 2af09a64..aba5398c 100755 --- a/Scripts/open-apps-folder.ps1 +++ b/Scripts/open-apps-folder.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/open-file-explorer.ps1" "shell:AppsFolder" diff --git a/Scripts/open-auto-start-folder.ps1 b/Scripts/open-auto-start-folder.ps1 index 78cf7942..6596e54a 100755 --- a/Scripts/open-auto-start-folder.ps1 +++ b/Scripts/open-auto-start-folder.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/open-bing-maps.ps1 b/Scripts/open-bing-maps.ps1 index 9ba9a221..857cd109 100755 --- a/Scripts/open-bing-maps.ps1 +++ b/Scripts/open-bing-maps.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/open-booking-com.ps1 b/Scripts/open-booking-com.ps1 index 891adaa6..5794b975 100755 --- a/Scripts/open-booking-com.ps1 +++ b/Scripts/open-booking-com.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://www.booking.com" diff --git a/Scripts/open-c-drive.ps1 b/Scripts/open-c-drive.ps1 index 23c37722..00400f49 100755 --- a/Scripts/open-c-drive.ps1 +++ b/Scripts/open-c-drive.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/open-file-explorer.ps1" "C:" diff --git a/Scripts/open-calculator.ps1 b/Scripts/open-calculator.ps1 index f9b3d451..b367cf9d 100755 --- a/Scripts/open-calculator.ps1 +++ b/Scripts/open-calculator.ps1 @@ -8,11 +8,11 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { - start-process ms-calculator: + Start-Process ms-calculator: exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" diff --git a/Scripts/open-chrome.ps1 b/Scripts/open-chrome.ps1 index ca83f201..51ec9e8c 100755 --- a/Scripts/open-chrome.ps1 +++ b/Scripts/open-chrome.ps1 @@ -10,13 +10,13 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$URL = "http://www.fleschutz.de") try { - start-process chrome.exe "$URL" + Start-Process chrome.exe "$URL" exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" diff --git a/Scripts/open-clock.ps1 b/Scripts/open-clock.ps1 index 22b9e01b..b482ebb1 100755 --- a/Scripts/open-clock.ps1 +++ b/Scripts/open-clock.ps1 @@ -8,11 +8,11 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { - start-process ms-clock: + Start-Process ms-clock: exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" diff --git a/Scripts/open-cortana.ps1 b/Scripts/open-cortana.ps1 index 5a185931..6dd89c91 100755 --- a/Scripts/open-cortana.ps1 +++ b/Scripts/open-cortana.ps1 @@ -8,11 +8,11 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { - start-process ms-cortana2: + Start-Process ms-cortana2: exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" diff --git a/Scripts/open-d-drive.ps1 b/Scripts/open-d-drive.ps1 index 5b42114f..94ed50f7 100755 --- a/Scripts/open-d-drive.ps1 +++ b/Scripts/open-d-drive.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/open-file-explorer.ps1" "D:" diff --git a/Scripts/open-deep-l-translator.ps1 b/Scripts/open-deep-l-translator.ps1 index 870fd15a..c4350207 100755 --- a/Scripts/open-deep-l-translator.ps1 +++ b/Scripts/open-deep-l-translator.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://www.deepl.com/translator" diff --git a/Scripts/open-default-browser.ps1 b/Scripts/open-default-browser.ps1 index 395e913d..8b0e4028 100755 --- a/Scripts/open-default-browser.ps1 +++ b/Scripts/open-default-browser.ps1 @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$URL = "http://www.fleschutz.de") diff --git a/Scripts/open-desktop-folder.ps1 b/Scripts/open-desktop-folder.ps1 index 4a9a7dde..72def0c0 100755 --- a/Scripts/open-desktop-folder.ps1 +++ b/Scripts/open-desktop-folder.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/open-documents-folder.ps1 b/Scripts/open-documents-folder.ps1 index 9d70e3e6..c7766271 100755 --- a/Scripts/open-documents-folder.ps1 +++ b/Scripts/open-documents-folder.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/open-dropbox-folder.ps1 b/Scripts/open-dropbox-folder.ps1 index bf2e4a3d..9575a761 100755 --- a/Scripts/open-dropbox-folder.ps1 +++ b/Scripts/open-dropbox-folder.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/open-duck-duck-go.ps1 b/Scripts/open-duck-duck-go.ps1 index 4582fe1a..aeebe7a7 100755 --- a/Scripts/open-duck-duck-go.ps1 +++ b/Scripts/open-duck-duck-go.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://duckduckgo.com" diff --git a/Scripts/open-e-drive.ps1 b/Scripts/open-e-drive.ps1 index 306ae9d2..f06d7fb4 100755 --- a/Scripts/open-e-drive.ps1 +++ b/Scripts/open-e-drive.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/open-file-explorer.ps1" "E:" diff --git a/Scripts/open-edge.ps1 b/Scripts/open-edge.ps1 index 6db9bd55..d1184834 100755 --- a/Scripts/open-edge.ps1 +++ b/Scripts/open-edge.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> Start-Process microsoft-edge:// diff --git a/Scripts/open-egg-timer.ps1 b/Scripts/open-egg-timer.ps1 index 0a8603bc..f0cb0f58 100755 --- a/Scripts/open-egg-timer.ps1 +++ b/Scripts/open-egg-timer.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://e.ggtimer.com" diff --git a/Scripts/open-email-client.ps1 b/Scripts/open-email-client.ps1 index 26d66582..68fe221e 100755 --- a/Scripts/open-email-client.ps1 +++ b/Scripts/open-email-client.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/open-f-drive.ps1 b/Scripts/open-f-drive.ps1 index 54c9fb5b..a14404ca 100755 --- a/Scripts/open-f-drive.ps1 +++ b/Scripts/open-f-drive.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/open-file-explorer.ps1" "F:" diff --git a/Scripts/open-file-explorer.ps1 b/Scripts/open-file-explorer.ps1 index eaddc049..e5925028 100755 --- a/Scripts/open-file-explorer.ps1 +++ b/Scripts/open-file-explorer.ps1 @@ -1,6 +1,6 @@ <# .SYNOPSIS - Starts the File Explorer + Launches the File Explorer .DESCRIPTION This PowerShell script launches the File Explorer. .EXAMPLE @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$Path = "") diff --git a/Scripts/open-fire-place.ps1 b/Scripts/open-fire-place.ps1 index b61c6d25..e944079b 100755 --- a/Scripts/open-fire-place.ps1 +++ b/Scripts/open-fire-place.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://freefireplaces.com" diff --git a/Scripts/open-firefox.ps1 b/Scripts/open-firefox.ps1 index 7455423c..6c9708dc 100755 --- a/Scripts/open-firefox.ps1 +++ b/Scripts/open-firefox.ps1 @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$URL = "http://www.fleschutz.de") diff --git a/Scripts/open-flight-radar.ps1 b/Scripts/open-flight-radar.ps1 index cdcf21c3..31557d5b 100755 --- a/Scripts/open-flight-radar.ps1 +++ b/Scripts/open-flight-radar.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://www.flightradar24.com" diff --git a/Scripts/open-g-drive.ps1 b/Scripts/open-g-drive.ps1 index 4ce17020..279dff50 100755 --- a/Scripts/open-g-drive.ps1 +++ b/Scripts/open-g-drive.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/open-file-explorer.ps1" "G:" diff --git a/Scripts/open-git-extensions.ps1 b/Scripts/open-git-extensions.ps1 index 4622625e..00e2e1a6 100755 --- a/Scripts/open-git-extensions.ps1 +++ b/Scripts/open-git-extensions.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> function TryToExec { param($Folder, $Binary) diff --git a/Scripts/open-google-books.ps1 b/Scripts/open-google-books.ps1 index 4d4efda6..20ebf0f7 100755 --- a/Scripts/open-google-books.ps1 +++ b/Scripts/open-google-books.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://books.google.com" diff --git a/Scripts/open-google-calendar.ps1 b/Scripts/open-google-calendar.ps1 index 1288e4cf..bfc09fca 100755 --- a/Scripts/open-google-calendar.ps1 +++ b/Scripts/open-google-calendar.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://calendar.google.com" diff --git a/Scripts/open-google-contacts.ps1 b/Scripts/open-google-contacts.ps1 index 8e5420d3..e301b508 100755 --- a/Scripts/open-google-contacts.ps1 +++ b/Scripts/open-google-contacts.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://contacts.google.com" diff --git a/Scripts/open-google-docs.ps1 b/Scripts/open-google-docs.ps1 index 533771fb..c1217117 100755 --- a/Scripts/open-google-docs.ps1 +++ b/Scripts/open-google-docs.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://docs.google.com" diff --git a/Scripts/open-google-earth.ps1 b/Scripts/open-google-earth.ps1 index 1ea8baac..17564cd9 100755 --- a/Scripts/open-google-earth.ps1 +++ b/Scripts/open-google-earth.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://earth.google.com/web/" diff --git a/Scripts/open-google-mail.ps1 b/Scripts/open-google-mail.ps1 index b951b7f5..299282eb 100755 --- a/Scripts/open-google-mail.ps1 +++ b/Scripts/open-google-mail.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://mail.google.com" diff --git a/Scripts/open-google-maps.ps1 b/Scripts/open-google-maps.ps1 index 9e55004c..defaa063 100755 --- a/Scripts/open-google-maps.ps1 +++ b/Scripts/open-google-maps.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://www.google.com/maps" diff --git a/Scripts/open-google-news.ps1 b/Scripts/open-google-news.ps1 index 9c037474..799e771e 100755 --- a/Scripts/open-google-news.ps1 +++ b/Scripts/open-google-news.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://news.google.com" diff --git a/Scripts/open-google-photos.ps1 b/Scripts/open-google-photos.ps1 index 91198967..32b05303 100755 --- a/Scripts/open-google-photos.ps1 +++ b/Scripts/open-google-photos.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://photos.google.com" diff --git a/Scripts/open-google-play.ps1 b/Scripts/open-google-play.ps1 index c599a969..3fe761b8 100755 --- a/Scripts/open-google-play.ps1 +++ b/Scripts/open-google-play.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://play.google.com/store" diff --git a/Scripts/open-google-search.ps1 b/Scripts/open-google-search.ps1 index 140318c5..1bac58cd 100755 --- a/Scripts/open-google-search.ps1 +++ b/Scripts/open-google-search.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://google.com" diff --git a/Scripts/open-google-stadia.ps1 b/Scripts/open-google-stadia.ps1 index de4088aa..ca694e64 100755 --- a/Scripts/open-google-stadia.ps1 +++ b/Scripts/open-google-stadia.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://stadia.google.com" diff --git a/Scripts/open-google-translate.ps1 b/Scripts/open-google-translate.ps1 index 7e7b17ae..2a5a528f 100755 --- a/Scripts/open-google-translate.ps1 +++ b/Scripts/open-google-translate.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://translate.google.com" diff --git a/Scripts/open-home-folder.ps1 b/Scripts/open-home-folder.ps1 index d1ca2142..15f55101 100755 --- a/Scripts/open-home-folder.ps1 +++ b/Scripts/open-home-folder.ps1 @@ -5,10 +5,10 @@ This script launches the File Explorer with the user's home folder. .EXAMPLE PS> ./open-home-folder -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/open-internet-archive.ps1 b/Scripts/open-internet-archive.ps1 index 9d949fbb..42120c3a 100755 --- a/Scripts/open-internet-archive.ps1 +++ b/Scripts/open-internet-archive.ps1 @@ -5,10 +5,10 @@ This script launches the Web browser with the Internet Archive website. .EXAMPLE PS> ./open-internet-archive -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://archive.org" diff --git a/Scripts/open-jitsi-meet.ps1 b/Scripts/open-jitsi-meet.ps1 index c0c8362c..83d6c472 100755 --- a/Scripts/open-jitsi-meet.ps1 +++ b/Scripts/open-jitsi-meet.ps1 @@ -5,10 +5,10 @@ This script launches the Web browser with the Jitsi Meet website. .EXAMPLE PS> ./open-jitsi-meet -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://meet.jit.si/" diff --git a/Scripts/open-m-drive.ps1 b/Scripts/open-m-drive.ps1 index a11e68af..b5ade0f7 100755 --- a/Scripts/open-m-drive.ps1 +++ b/Scripts/open-m-drive.ps1 @@ -5,10 +5,10 @@ This script launches the File Explorer with the M: drive folder. .EXAMPLE PS> ./open-m-drive -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/open-file-explorer.ps1" "M:" diff --git a/Scripts/open-magnifier.ps1 b/Scripts/open-magnifier.ps1 index d1c9b355..2bd819bf 100755 --- a/Scripts/open-magnifier.ps1 +++ b/Scripts/open-magnifier.ps1 @@ -5,10 +5,10 @@ This script launches the Windows Screen Magnifier application. .EXAMPLE PS> ./open-magnifier -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/open-microsoft-paint.ps1 b/Scripts/open-microsoft-paint.ps1 index dc3deccd..908a33ce 100755 --- a/Scripts/open-microsoft-paint.ps1 +++ b/Scripts/open-microsoft-paint.ps1 @@ -5,10 +5,10 @@ This script launches the Microsoft Paint application. .EXAMPLE PS> ./open-microsoft-paint -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/open-microsoft-solitaire.ps1 b/Scripts/open-microsoft-solitaire.ps1 index a0ddeb80..dc494dde 100755 --- a/Scripts/open-microsoft-solitaire.ps1 +++ b/Scripts/open-microsoft-solitaire.ps1 @@ -5,10 +5,10 @@ This script launches the Microsoft Solitaire application. .EXAMPLE PS> ./open-microsoft-solitaire -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> Start-Process xboxliveapp-1297287741: diff --git a/Scripts/open-microsoft-store.ps1 b/Scripts/open-microsoft-store.ps1 index f2f81465..785d6f83 100755 --- a/Scripts/open-microsoft-store.ps1 +++ b/Scripts/open-microsoft-store.ps1 @@ -5,10 +5,10 @@ This script launches the Microsoft Store application. .EXAMPLE PS> ./open-microsoft-store -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> Start-Process ms-windows-store: diff --git a/Scripts/open-microsoft-teams.ps1 b/Scripts/open-microsoft-teams.ps1 index 72fe2be0..d0efda33 100755 --- a/Scripts/open-microsoft-teams.ps1 +++ b/Scripts/open-microsoft-teams.ps1 @@ -5,14 +5,14 @@ This script launches the Microsoft Teams application. .EXAMPLE PS> ./open-microsoft-teams -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> try { - start-process msteams: + Start-Process msteams: exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" diff --git a/Scripts/open-microsoft-weather.ps1 b/Scripts/open-microsoft-weather.ps1 index 44faec4f..60ff8660 100755 --- a/Scripts/open-microsoft-weather.ps1 +++ b/Scripts/open-microsoft-weather.ps1 @@ -5,14 +5,14 @@ This script launches the Microsoft Weather application. .EXAMPLE PS> ./open-microsoft-weather -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> try { - start-process msnweather: + Start-Process msnweather: exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" diff --git a/Scripts/open-music-folder.ps1 b/Scripts/open-music-folder.ps1 index 7fc90209..42f50a3b 100755 --- a/Scripts/open-music-folder.ps1 +++ b/Scripts/open-music-folder.ps1 @@ -5,10 +5,10 @@ This script launches the File Explorer with the user's music folder. .EXAMPLE PS> ./open-music-folder -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/open-netflix.ps1 b/Scripts/open-netflix.ps1 index 9ed40a20..ea4ee3c2 100755 --- a/Scripts/open-netflix.ps1 +++ b/Scripts/open-netflix.ps1 @@ -5,10 +5,10 @@ This script launches the Netflix application. .EXAMPLE PS> ./open-netflix -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> Start-Process netflix: diff --git a/Scripts/open-note-pad.ps1 b/Scripts/open-note-pad.ps1 index 61e1f205..0a49ee02 100755 --- a/Scripts/open-note-pad.ps1 +++ b/Scripts/open-note-pad.ps1 @@ -5,14 +5,14 @@ This script launches the Notepad application. .EXAMPLE PS> ./open-note-pad -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> try { - start-process notepad.exe + Start-Process notepad.exe exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" diff --git a/Scripts/open-obs-studio.ps1 b/Scripts/open-obs-studio.ps1 index 3008945f..02377deb 100755 --- a/Scripts/open-obs-studio.ps1 +++ b/Scripts/open-obs-studio.ps1 @@ -5,10 +5,10 @@ This script launches the OBS Studio application. .EXAMPLE PS> ./open-obs-studio -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> function TryLaunching { param([string]$Path, [string]$Dir) diff --git a/Scripts/open-office-365.ps1 b/Scripts/open-office-365.ps1 index fe2bbc53..1ea05492 100755 --- a/Scripts/open-office-365.ps1 +++ b/Scripts/open-office-365.ps1 @@ -5,10 +5,10 @@ This script launches the Web browser with the Microsoft Office 365 website. .EXAMPLE PS> ./open-office-365 -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://portal.office.com" diff --git a/Scripts/open-one-drive-folder.ps1 b/Scripts/open-one-drive-folder.ps1 index da0fea23..ed45d012 100755 --- a/Scripts/open-one-drive-folder.ps1 +++ b/Scripts/open-one-drive-folder.ps1 @@ -5,10 +5,10 @@ This script launches the File Explorer with the user's OneDrive folder. .EXAMPLE PS> ./open-one-drive-folder -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/open-outlook.ps1 b/Scripts/open-outlook.ps1 index 6fd8d931..0d171d9d 100755 --- a/Scripts/open-outlook.ps1 +++ b/Scripts/open-outlook.ps1 @@ -5,10 +5,10 @@ This script launches the Microsoft Outlook email application. .EXAMPLE PS> ./open-outlook -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> function TryToExec { param($Folder, $Binary) diff --git a/Scripts/open-paint-three-d.ps1 b/Scripts/open-paint-three-d.ps1 index 9efdea35..a54f1916 100755 --- a/Scripts/open-paint-three-d.ps1 +++ b/Scripts/open-paint-three-d.ps1 @@ -5,10 +5,10 @@ This script launches the Paint 3D application. .EXAMPLE PS> ./open-paint-3d -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/open-pictures-folder.ps1 b/Scripts/open-pictures-folder.ps1 index 6d6eb461..77ed8673 100755 --- a/Scripts/open-pictures-folder.ps1 +++ b/Scripts/open-pictures-folder.ps1 @@ -5,10 +5,10 @@ This script launches the File Explorer with the user's pictures folder. .EXAMPLE PS> ./open-pictures-folder -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/open-recycle-bin-folder.ps1 b/Scripts/open-recycle-bin-folder.ps1 index dd39f3f6..e37e6901 100755 --- a/Scripts/open-recycle-bin-folder.ps1 +++ b/Scripts/open-recycle-bin-folder.ps1 @@ -5,10 +5,10 @@ This script launches the File Explorer with the user's recycle bin folder. .EXAMPLE PS> ./open-recycle-bin-folder -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/open-remote-desktop.ps1 b/Scripts/open-remote-desktop.ps1 index 1fdd3bf4..ae49d6c7 100755 --- a/Scripts/open-remote-desktop.ps1 +++ b/Scripts/open-remote-desktop.ps1 @@ -5,10 +5,10 @@ This script launches the Remote Desktop application. .EXAMPLE PS> ./open-remote-desktop -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/open-repos-folder.ps1 b/Scripts/open-repos-folder.ps1 index adde1660..073c84f0 100755 --- a/Scripts/open-repos-folder.ps1 +++ b/Scripts/open-repos-folder.ps1 @@ -5,15 +5,15 @@ This script launches the File Explorer with the user's Git repositories folder. .EXAMPLE PS> ./open-repos-folder -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> try { - $TargetDir = resolve-path "$HOME/Repos" - if (-not(test-path "$TargetDir" -pathType container)) { + $TargetDir = Resolve-Path "$HOME/Repos" + if (-not(Test-Path "$TargetDir" -pathType container)) { throw "Repos folder at 📂$TargetDir doesn't exist (yet)" } & "$PSScriptRoot/open-file-explorer.ps1" "$TargetDir" diff --git a/Scripts/open-screen-clip.ps1 b/Scripts/open-screen-clip.ps1 index 9a3929a4..843cc422 100755 --- a/Scripts/open-screen-clip.ps1 +++ b/Scripts/open-screen-clip.ps1 @@ -5,14 +5,14 @@ This script launches the Screen Clip application. .EXAMPLE PS> ./open-screen-clip -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> try { - start-process ms-screenclip: + Start-Process ms-screenclip: exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" diff --git a/Scripts/open-screen-sketch.ps1 b/Scripts/open-screen-sketch.ps1 index b5317de4..b206402f 100755 --- a/Scripts/open-screen-sketch.ps1 +++ b/Scripts/open-screen-sketch.ps1 @@ -5,14 +5,14 @@ This script launches the Screen Sketch application. .EXAMPLE PS> ./open-screen-sketch -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> try { - start-process ms-screensketch: + Start-Process ms-screensketch: exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" diff --git a/Scripts/open-skype.ps1 b/Scripts/open-skype.ps1 index 1fc06ac2..11613222 100755 --- a/Scripts/open-skype.ps1 +++ b/Scripts/open-skype.ps1 @@ -5,14 +5,14 @@ This script launches the Skype application. .EXAMPLE PS> ./open-skype -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> try { - start-process skype: + Start-Process skype: exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" diff --git a/Scripts/open-snipping-tool.ps1 b/Scripts/open-snipping-tool.ps1 index 1e2f8bf8..3d45b7a0 100755 --- a/Scripts/open-snipping-tool.ps1 +++ b/Scripts/open-snipping-tool.ps1 @@ -5,10 +5,10 @@ This script launches the Snipping Tool application. .EXAMPLE PS> ./open-snipping-tool -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> Start-Process SnippingTool.exe diff --git a/Scripts/open-space-weather.ps1 b/Scripts/open-space-weather.ps1 index 3a882d93..861c6ee1 100755 --- a/Scripts/open-space-weather.ps1 +++ b/Scripts/open-space-weather.ps1 @@ -5,10 +5,10 @@ This script launches the Web browser with the Space Weather website. .EXAMPLE PS> ./open-space-weather -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://www.spaceweather.com" diff --git a/Scripts/open-speed-test.ps1 b/Scripts/open-speed-test.ps1 index 825f1826..20ec6b6c 100755 --- a/Scripts/open-speed-test.ps1 +++ b/Scripts/open-speed-test.ps1 @@ -5,10 +5,10 @@ This script launches the Web browser with Cloudflare's speed test website. .EXAMPLE PS> ./open-speed-test -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://speed.cloudflare.com" diff --git a/Scripts/open-spotify.ps1 b/Scripts/open-spotify.ps1 index 31147f51..ec3c11de 100755 --- a/Scripts/open-spotify.ps1 +++ b/Scripts/open-spotify.ps1 @@ -5,10 +5,10 @@ This script launches the Spotify application. .EXAMPLE PS> ./open-spotify -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> Start-Process spotify: diff --git a/Scripts/open-stack-overflow.ps1 b/Scripts/open-stack-overflow.ps1 index 09812543..3c819c7e 100755 --- a/Scripts/open-stack-overflow.ps1 +++ b/Scripts/open-stack-overflow.ps1 @@ -5,10 +5,10 @@ This script launches the Web browser with the Stack Overflow website. .EXAMPLE PS> ./open-stack-overflow -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://stackoverflow.com" diff --git a/Scripts/open-start-page.ps1 b/Scripts/open-start-page.ps1 index b3f437dd..8e5124de 100755 --- a/Scripts/open-start-page.ps1 +++ b/Scripts/open-start-page.ps1 @@ -5,10 +5,10 @@ This script launches the Web browser with the Startpage website. .EXAMPLE PS> ./open-start-page -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://www.startpage.com" diff --git a/Scripts/open-street-map.ps1 b/Scripts/open-street-map.ps1 index bfbca3ba..2f559921 100755 --- a/Scripts/open-street-map.ps1 +++ b/Scripts/open-street-map.ps1 @@ -5,10 +5,10 @@ This script launches the Web browser with the OpenStreetMap website. .EXAMPLE PS> ./open-street-map -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://www.openstreetmap.org" diff --git a/Scripts/open-task-manager.ps1 b/Scripts/open-task-manager.ps1 index f77c52af..0b2121fe 100755 --- a/Scripts/open-task-manager.ps1 +++ b/Scripts/open-task-manager.ps1 @@ -5,14 +5,14 @@ This script launches the Windows Task Manager application. .EXAMPLE PS> ./open-task-manager -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> try { - start-process taskmgr.exe + Start-Process taskmgr.exe exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" diff --git a/Scripts/open-temporary-folder.ps1 b/Scripts/open-temporary-folder.ps1 index 024b5cac..daec9732 100755 --- a/Scripts/open-temporary-folder.ps1 +++ b/Scripts/open-temporary-folder.ps1 @@ -5,10 +5,10 @@ This script launches the File Explorer showing the temporary folder. .EXAMPLE PS> ./open-temporary-folder -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> function GetTempDir { diff --git a/Scripts/open-three-d-viewer.ps1 b/Scripts/open-three-d-viewer.ps1 index ad4d522d..fc535d6d 100755 --- a/Scripts/open-three-d-viewer.ps1 +++ b/Scripts/open-three-d-viewer.ps1 @@ -5,10 +5,10 @@ This script launches the 3D-Viewer application. .EXAMPLE PS> ./open-three-d-viewer -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> Start-Process com.microsoft.3dviewer: diff --git a/Scripts/open-thunderbird.ps1 b/Scripts/open-thunderbird.ps1 index 0ad16e76..dd7968e7 100755 --- a/Scripts/open-thunderbird.ps1 +++ b/Scripts/open-thunderbird.ps1 @@ -5,10 +5,10 @@ This script launches the Mozilla Thunderbird email application. .EXAMPLE PS> ./open-thunderbird -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> function TryToExec { param($Folder, $Binary) diff --git a/Scripts/open-videos-folders.ps1 b/Scripts/open-videos-folders.ps1 index 748928ae..9abc25e8 100755 --- a/Scripts/open-videos-folders.ps1 +++ b/Scripts/open-videos-folders.ps1 @@ -5,15 +5,15 @@ This script launches the File Explorer with the user's videos folder. .EXAMPLE PS> ./open-videos-folder -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> try { - $TargetDir = resolve-path "$HOME/Videos" - if (-not(test-path "$TargetDir" -pathType container)) { + $TargetDir = Resolve-Path "$HOME/Videos" + if (-not(Test-Path "$TargetDir" -pathType container)) { throw "Videos folder at 📂$TargetDir doesn't exist (yet)" } & "$PSScriptRoot/open-file-explorer.ps1" "$TargetDir" diff --git a/Scripts/open-visual-studio.ps1 b/Scripts/open-visual-studio.ps1 index 210340f5..e3e8ed64 100755 --- a/Scripts/open-visual-studio.ps1 +++ b/Scripts/open-visual-studio.ps1 @@ -5,10 +5,10 @@ This script launches the Microsoft Visual Studio application. .EXAMPLE PS> ./open-visual-studio -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> function TryLaunching { param($Path) diff --git a/Scripts/open-windows-defender.ps1 b/Scripts/open-windows-defender.ps1 index 4b36bfe2..bda79e8b 100755 --- a/Scripts/open-windows-defender.ps1 +++ b/Scripts/open-windows-defender.ps1 @@ -5,10 +5,10 @@ This script launches the Windows Defender application. .EXAMPLE PS> ./open-windows-defender -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> Start-Process windowsdefender: diff --git a/Scripts/open-windows-terminal.ps1 b/Scripts/open-windows-terminal.ps1 index 9fde0247..905b357a 100755 --- a/Scripts/open-windows-terminal.ps1 +++ b/Scripts/open-windows-terminal.ps1 @@ -5,10 +5,10 @@ This script launches the Windows Terminal application. .EXAMPLE PS> ./open-windows-terminal -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> Start-Process wt.exe diff --git a/Scripts/open-xing.ps1 b/Scripts/open-xing.ps1 index 078e47d3..236ccca5 100755 --- a/Scripts/open-xing.ps1 +++ b/Scripts/open-xing.ps1 @@ -5,10 +5,10 @@ This script launches the XING application. .EXAMPLE PS> ./open-xing -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> Start-Process xing: diff --git a/Scripts/pick-commit.ps1 b/Scripts/pick-commit.ps1 index 4d83da14..5e10d61d 100755 --- a/Scripts/pick-commit.ps1 +++ b/Scripts/pick-commit.ps1 @@ -14,10 +14,10 @@ Specifies the path to the Git repository .EXAMPLE PS> ./pick-commit 93849f889 "Fix typo" "v1 v2 v3" -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> param([string]$CommitID = "", [string]$CommitMessage = "", [string]$Branches = "", [string]$RepoDir = "$PWD") diff --git a/Scripts/play-bee-sound.ps1 b/Scripts/play-bee-sound.ps1 index b377f058..bdb0f068 100755 --- a/Scripts/play-bee-sound.ps1 +++ b/Scripts/play-bee-sound.ps1 @@ -5,11 +5,10 @@ This PowerShell script plays a bee sound. .EXAMPLE PS> ./play-bee-sound - (listen and enjoy) -.NOTES - Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../Data/Sounds/bee.mp3" diff --git a/Scripts/play-cat-sound.ps1 b/Scripts/play-cat-sound.ps1 index fd447f7f..99c073a8 100755 --- a/Scripts/play-cat-sound.ps1 +++ b/Scripts/play-cat-sound.ps1 @@ -5,10 +5,10 @@ This PowerShell script plays a cat sound. .EXAMPLE PS> ./play-cat-sound -.NOTES - Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../Data/Sounds/cat.mp3" diff --git a/Scripts/play-cow-sound.ps1 b/Scripts/play-cow-sound.ps1 index f86db11c..e1d6d654 100755 --- a/Scripts/play-cow-sound.ps1 +++ b/Scripts/play-cow-sound.ps1 @@ -5,10 +5,10 @@ This PowerShell script plays a cow sound. .EXAMPLE PS> ./play-cow-sound -.NOTES - Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../Data/Sounds/cow.mp3" diff --git a/Scripts/play-dog-sound.ps1 b/Scripts/play-dog-sound.ps1 index 673643a9..b2827a8f 100755 --- a/Scripts/play-dog-sound.ps1 +++ b/Scripts/play-dog-sound.ps1 @@ -5,10 +5,10 @@ This PowerShell script plays a dog sound. .EXAMPLE PS> ./play-dog-sound -.NOTES - Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../Data/Sounds/dog.mp3" diff --git a/Scripts/play-donkey-sound.ps1 b/Scripts/play-donkey-sound.ps1 index c79f4b41..40080b1c 100755 --- a/Scripts/play-donkey-sound.ps1 +++ b/Scripts/play-donkey-sound.ps1 @@ -5,10 +5,10 @@ This PowerShell script plays a donkey sound. .EXAMPLE PS> ./play-donkey-sound -.NOTES - Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../Data/Sounds/donkey.mp3" diff --git a/Scripts/play-elephant-sound.ps1 b/Scripts/play-elephant-sound.ps1 index f496224d..87bd1e90 100755 --- a/Scripts/play-elephant-sound.ps1 +++ b/Scripts/play-elephant-sound.ps1 @@ -5,11 +5,10 @@ This PowerShell script plays an elephant sound. .EXAMPLE PS> ./play-elephant-sound - (listen and enjoy) -.NOTES - Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../Data/Sounds/elephant.mp3" diff --git a/Scripts/play-elk-sound.ps1 b/Scripts/play-elk-sound.ps1 index 24092a14..5974d8c5 100755 --- a/Scripts/play-elk-sound.ps1 +++ b/Scripts/play-elk-sound.ps1 @@ -5,11 +5,10 @@ This PowerShell script plays an elk sound. .EXAMPLE PS> ./play-elk-sound - (listen and enjoy) -.NOTES - Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../Data/Sounds/elk.mp3" diff --git a/Scripts/play-files.ps1 b/Scripts/play-files.ps1 index 4e2a0eeb..4835755d 100755 --- a/Scripts/play-files.ps1 +++ b/Scripts/play-files.ps1 @@ -7,10 +7,10 @@ Specifies the file pattern .EXAMPLE PS> ./play-files *.mp3 -.NOTES - Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> param([string]$FilePattern = "*") diff --git a/Scripts/play-frog-sound.ps1 b/Scripts/play-frog-sound.ps1 index 1983b6aa..9ec1fffa 100755 --- a/Scripts/play-frog-sound.ps1 +++ b/Scripts/play-frog-sound.ps1 @@ -5,11 +5,10 @@ This PowerShell script plays a frog sound. .EXAMPLE PS> ./play-frog-sound - (listen and enjoy) -.NOTES - Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../Data/Sounds/frog.mp3" diff --git a/Scripts/play-goat-sound.ps1 b/Scripts/play-goat-sound.ps1 index ad29958f..e2120306 100755 --- a/Scripts/play-goat-sound.ps1 +++ b/Scripts/play-goat-sound.ps1 @@ -5,11 +5,10 @@ This PowerShell script plays a goat sound. .EXAMPLE PS> ./play-goat-sound - (listen and enjoy) -.NOTES - Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../Data/Sounds/goat.mp3" diff --git a/Scripts/play-gorilla-sound.ps1 b/Scripts/play-gorilla-sound.ps1 index b00e6538..96847a05 100755 --- a/Scripts/play-gorilla-sound.ps1 +++ b/Scripts/play-gorilla-sound.ps1 @@ -5,11 +5,10 @@ This PowerShell script plays a gorilla sound. .EXAMPLE PS> ./play-gorilla-sound - (listen and enjoy) -.NOTES - Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../Data/Sounds/gorilla.mp3" diff --git a/Scripts/play-horse-sound.ps1 b/Scripts/play-horse-sound.ps1 index d4269da3..17d341f8 100755 --- a/Scripts/play-horse-sound.ps1 +++ b/Scripts/play-horse-sound.ps1 @@ -5,11 +5,10 @@ This PowerShell script plays a horse sound. .EXAMPLE PS> ./play-horse-sound - (listen and enjoy) -.NOTES - Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../Data/Sounds/horse.mp3" diff --git a/Scripts/play-lion-sound.ps1 b/Scripts/play-lion-sound.ps1 index 08435119..bf8ee262 100755 --- a/Scripts/play-lion-sound.ps1 +++ b/Scripts/play-lion-sound.ps1 @@ -5,11 +5,10 @@ This PowerShell script plays a lion sound. .EXAMPLE PS> ./play-lion-sound - (listen and enjoy) -.NOTES - Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../Data/Sounds/lion.mp3" diff --git a/Scripts/play-m3u.ps1 b/Scripts/play-m3u.ps1 index 66ad365c..110b2f73 100755 --- a/Scripts/play-m3u.ps1 +++ b/Scripts/play-m3u.ps1 @@ -7,11 +7,10 @@ Specifies the path to the playlist .EXAMPLE PS> ./play-m3u C:\MyPlaylist.m3u - (listen and enjoy) -.NOTES - Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> param([string]$filename = "") diff --git a/Scripts/play-mp3.ps1 b/Scripts/play-mp3.ps1 index 6fab6ad8..6e6c7f13 100755 --- a/Scripts/play-mp3.ps1 +++ b/Scripts/play-mp3.ps1 @@ -7,11 +7,10 @@ Specifies the path to the .MP3 file .EXAMPLE PS> ./play-mp3 C:\thunder.mp3 - (listen and enjoy) -.NOTES - Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> param([string]$Path = "") diff --git a/Scripts/play-parrot-sound.ps1 b/Scripts/play-parrot-sound.ps1 index 17323526..47de9f70 100755 --- a/Scripts/play-parrot-sound.ps1 +++ b/Scripts/play-parrot-sound.ps1 @@ -5,11 +5,10 @@ This PowerShell script plays a parrot sound. .EXAMPLE PS> ./play-parrot-sound - (listen and enjoy) -.NOTES - Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../Data/Sounds/parrot.mp3" diff --git a/Scripts/play-pig-sound.ps1 b/Scripts/play-pig-sound.ps1 index f2e67c36..3726eec4 100755 --- a/Scripts/play-pig-sound.ps1 +++ b/Scripts/play-pig-sound.ps1 @@ -5,11 +5,10 @@ This PowerShell script plays a pig sound. .EXAMPLE PS> ./play-pig-sound - (listen and enjoy) -.NOTES - Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../Data/Sounds/pig.mp3" diff --git a/Scripts/play-rattlesnake-sound.ps1 b/Scripts/play-rattlesnake-sound.ps1 index 5ad497ff..de79799b 100755 --- a/Scripts/play-rattlesnake-sound.ps1 +++ b/Scripts/play-rattlesnake-sound.ps1 @@ -5,11 +5,10 @@ This PowerShell script plays a rattlesnake sound. .EXAMPLE PS> ./play-rattlesnake-sound - (listen and enjoy) -.NOTES - Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../Data/Sounds/rattlesnake.mp3" diff --git a/Scripts/play-super-mario.ps1 b/Scripts/play-super-mario.ps1 index 2336708c..e5552819 100755 --- a/Scripts/play-super-mario.ps1 +++ b/Scripts/play-super-mario.ps1 @@ -5,10 +5,10 @@ This PowerShell script plays the Super Mario intro. .EXAMPLE PS> ./play-super-mario -.NOTES - Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> [console]::beep(659,250) ##E diff --git a/Scripts/play-tetris-melody.ps1 b/Scripts/play-tetris-melody.ps1 index aa2b910b..71d7ac5e 100755 --- a/Scripts/play-tetris-melody.ps1 +++ b/Scripts/play-tetris-melody.ps1 @@ -5,11 +5,10 @@ This PowerShell script plays the Tetris melody. .EXAMPLE PS> ./play-tetris-melody - (listen and enjoy) -.NOTES - Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> [System.Console]::Beep(1320,500) diff --git a/Scripts/play-vulture-sound.ps1 b/Scripts/play-vulture-sound.ps1 index 7216175f..0fa0ad46 100755 --- a/Scripts/play-vulture-sound.ps1 +++ b/Scripts/play-vulture-sound.ps1 @@ -5,11 +5,10 @@ This PowerShell script plays a vulture sound. .EXAMPLE PS> ./play-vulture-sound - (listen and enjoy) -.NOTES - Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../Data/Sounds/vulture.mp3" diff --git a/Scripts/play-wolf-sound.ps1 b/Scripts/play-wolf-sound.ps1 index 091b875c..5e77e1fa 100755 --- a/Scripts/play-wolf-sound.ps1 +++ b/Scripts/play-wolf-sound.ps1 @@ -5,11 +5,10 @@ This PowerShell script plays a wolf sound. .EXAMPLE PS> ./play-wolf-sound - (listen and enjoy) -.NOTES - Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/play-mp3.ps1" "$PSScriptRoot/../Data/Sounds/wolf.mp3" diff --git a/Scripts/publish-to-ipfs.ps1 b/Scripts/publish-to-ipfs.ps1 index 1e1e8d44..f539b982 100755 --- a/Scripts/publish-to-ipfs.ps1 +++ b/Scripts/publish-to-ipfs.ps1 @@ -11,10 +11,10 @@ Specifies the path to the resulting digital forensic hashes .EXAMPLE PS> ./publish-to-ipfs C:\MyFile.txt -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> param([string]$FilePattern = "", [string]$HashList = "IPFS_hashes.txt", [string]$DF_Hashes = "file_checksums.xml") diff --git a/Scripts/query-smart-data.ps1 b/Scripts/query-smart-data.ps1 index a10f7b99..fd361e02 100755 --- a/Scripts/query-smart-data.ps1 +++ b/Scripts/query-smart-data.ps1 @@ -9,10 +9,10 @@ Specifies the path to the target directory .EXAMPLE PS> ./query-smart-data -.NOTES - Author: Markus Fleschutz · License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> #Requires -RunAsAdministrator diff --git a/Scripts/reboot-fritzbox.ps1 b/Scripts/reboot-fritzbox.ps1 index ba5ffc3e..8965279d 100755 --- a/Scripts/reboot-fritzbox.ps1 +++ b/Scripts/reboot-fritzbox.ps1 @@ -12,7 +12,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$Username = "", [string]$Password = "") diff --git a/Scripts/reboot.ps1 b/Scripts/reboot.ps1 index e837cc0c..60bd2eb4 100755 --- a/Scripts/reboot.ps1 +++ b/Scripts/reboot.ps1 @@ -15,7 +15,7 @@ try { if ($IsLinux) { - sudo reboot + & sudo reboot } else { Restart-Computer } diff --git a/Scripts/remind-me.ps1 b/Scripts/remind-me.ps1 index c092c404..b59d13f2 100755 --- a/Scripts/remind-me.ps1 +++ b/Scripts/remind-me.ps1 @@ -12,7 +12,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> #requires -version 4 diff --git a/Scripts/remove-empty-dirs.ps1 b/Scripts/remove-empty-dirs.ps1 index a2e91619..fa7c16d2 100755 --- a/Scripts/remove-empty-dirs.ps1 +++ b/Scripts/remove-empty-dirs.ps1 @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$DirTree = "") diff --git a/Scripts/remove-print-jobs.ps1 b/Scripts/remove-print-jobs.ps1 index 552c2cd6..8a7a2790 100755 --- a/Scripts/remove-print-jobs.ps1 +++ b/Scripts/remove-print-jobs.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> #Requires -Version 4 diff --git a/Scripts/remove-tag.ps1 b/Scripts/remove-tag.ps1 index be4c5ec4..04564642 100755 --- a/Scripts/remove-tag.ps1 +++ b/Scripts/remove-tag.ps1 @@ -14,7 +14,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$TagName = "", [string]$Mode = "", [string]$RepoDir = "$PWD") diff --git a/Scripts/repeat-last-reply.ps1 b/Scripts/repeat-last-reply.ps1 index 84d254a8..7912bb1b 100755 --- a/Scripts/repeat-last-reply.ps1 +++ b/Scripts/repeat-last-reply.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> function GetTempDir { diff --git a/Scripts/replace-in-files.ps1 b/Scripts/replace-in-files.ps1 index 9837236d..8909a45c 100755 --- a/Scripts/replace-in-files.ps1 +++ b/Scripts/replace-in-files.ps1 @@ -14,7 +14,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$pattern = "", [string]$replacement = "", [string]$files = "") diff --git a/Scripts/restart-network-adapters.ps1 b/Scripts/restart-network-adapters.ps1 index aabed0e5..1eb5b245 100755 --- a/Scripts/restart-network-adapters.ps1 +++ b/Scripts/restart-network-adapters.ps1 @@ -8,7 +8,7 @@ .LINK htts://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> #Requires -RunAsAdministrator diff --git a/Scripts/roll-a-dice.ps1 b/Scripts/roll-a-dice.ps1 index e6af4fc9..b8c46b07 100755 --- a/Scripts/roll-a-dice.ps1 +++ b/Scripts/roll-a-dice.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> $Reply = "It's", "I get", "Now it's", "OK, I have" | Get-Random diff --git a/Scripts/save-screenshot.ps1 b/Scripts/save-screenshot.ps1 index 0d5bdc64..35db0d72 100755 --- a/Scripts/save-screenshot.ps1 +++ b/Scripts/save-screenshot.ps1 @@ -11,7 +11,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$TargetFolder = "$HOME/Pictures") diff --git a/Scripts/scan-ports.ps1 b/Scripts/scan-ports.ps1 index 5dc65b99..ac46736e 100755 --- a/Scripts/scan-ports.ps1 +++ b/Scripts/scan-ports.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> $network = "192.168.178" diff --git a/Scripts/search-filename.ps1 b/Scripts/search-filename.ps1 index 7d749f1d..8e389783 100755 --- a/Scripts/search-filename.ps1 +++ b/Scripts/search-filename.ps1 @@ -13,7 +13,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param( diff --git a/Scripts/search-files.ps1 b/Scripts/search-files.ps1 index 4a94df57..790027a7 100755 --- a/Scripts/search-files.ps1 +++ b/Scripts/search-files.ps1 @@ -12,7 +12,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$pattern = "", [string]$files = "") diff --git a/Scripts/send-email.ps1 b/Scripts/send-email.ps1 index d19e0100..61432c51 100755 --- a/Scripts/send-email.ps1 +++ b/Scripts/send-email.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> $smtpServer = "smtp.example.com" diff --git a/Scripts/send-tcp.ps1 b/Scripts/send-tcp.ps1 index 01e17d86..cb4920ea 100755 --- a/Scripts/send-tcp.ps1 +++ b/Scripts/send-tcp.ps1 @@ -14,7 +14,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$TargetIP = "", [int]$TargetPort = 0, [string]$Message = "") diff --git a/Scripts/send-udp.ps1 b/Scripts/send-udp.ps1 index 4d86232a..02859e56 100755 --- a/Scripts/send-udp.ps1 +++ b/Scripts/send-udp.ps1 @@ -15,7 +15,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$TargetIP = "", [int]$TargetPort = 0, $[string]Message = "") diff --git a/Scripts/set-timer.ps1 b/Scripts/set-timer.ps1 index 455d0da4..2a462cba 100755 --- a/Scripts/set-timer.ps1 +++ b/Scripts/set-timer.ps1 @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([int]$Seconds = 0) diff --git a/Scripts/set-wallpaper.ps1 b/Scripts/set-wallpaper.ps1 index 4f0730f0..b6c1a999 100755 --- a/Scripts/set-wallpaper.ps1 +++ b/Scripts/set-wallpaper.ps1 @@ -12,7 +12,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$ImageFile = "", [string]$Style = "Span") diff --git a/Scripts/show-lightnings.ps1 b/Scripts/show-lightnings.ps1 index 3ec68b38..3b061178 100755 --- a/Scripts/show-lightnings.ps1 +++ b/Scripts/show-lightnings.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://www.lightningmaps.org" diff --git a/Scripts/show-notification.ps1 b/Scripts/show-notification.ps1 index 84c46711..3566e8aa 100755 --- a/Scripts/show-notification.ps1 +++ b/Scripts/show-notification.ps1 @@ -1,6 +1,6 @@ <# .SYNOPSIS - Show Notification + Shows a notification .DESCRIPTION This PowerShell script shows a toast-message notification for the Windows 10 Notification Center. .EXAMPLE @@ -27,4 +27,4 @@ try { } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" exit 1 -} \ No newline at end of file +} diff --git a/Scripts/show-traffic.ps1 b/Scripts/show-traffic.ps1 index cace38c0..d717fabb 100755 --- a/Scripts/show-traffic.ps1 +++ b/Scripts/show-traffic.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> & "$PSScriptRoot/open-default-browser.ps1" "https://www.msn.com/en-us/traffic?lvl=11&intent=roadClosures" diff --git a/Scripts/simulate-matrix.ps1 b/Scripts/simulate-matrix.ps1 index dba85c6d..15b08768 100755 --- a/Scripts/simulate-matrix.ps1 +++ b/Scripts/simulate-matrix.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/simulate-presence.ps1 b/Scripts/simulate-presence.ps1 index 1608c96a..d8cfdb84 100755 --- a/Scripts/simulate-presence.ps1 +++ b/Scripts/simulate-presence.ps1 @@ -7,10 +7,10 @@ Specifies the IP address of the Shelly1 device .EXAMPLE PS> ./simulate-presence 192.168.100.100 -.NOTES - Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> param([string]$IPaddress = "") diff --git a/Scripts/smart-data2csv.ps1 b/Scripts/smart-data2csv.ps1 index e3bcad4a..5cbe38fb 100755 --- a/Scripts/smart-data2csv.ps1 +++ b/Scripts/smart-data2csv.ps1 @@ -11,7 +11,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$Directory = "") diff --git a/Scripts/speak-checklist.ps1 b/Scripts/speak-checklist.ps1 index c3f43867..fb9267c9 100755 --- a/Scripts/speak-checklist.ps1 +++ b/Scripts/speak-checklist.ps1 @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$Name = "") diff --git a/Scripts/speak-epub.ps1 b/Scripts/speak-epub.ps1 index 1b6c1b96..cf041dba 100755 --- a/Scripts/speak-epub.ps1 +++ b/Scripts/speak-epub.ps1 @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$Filename = "") diff --git a/Scripts/speak-test.ps1 b/Scripts/speak-test.ps1 index 71dadb09..73de7543 100755 --- a/Scripts/speak-test.ps1 +++ b/Scripts/speak-test.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> function Speak { param([string]$Text) diff --git a/Scripts/spell-word.ps1 b/Scripts/spell-word.ps1 index 86dee615..f054917c 100755 --- a/Scripts/spell-word.ps1 +++ b/Scripts/spell-word.ps1 @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$word = "") diff --git a/Scripts/switch-shelly1.ps1 b/Scripts/switch-shelly1.ps1 index a1e9fc6e..eea22fce 100755 --- a/Scripts/switch-shelly1.ps1 +++ b/Scripts/switch-shelly1.ps1 @@ -14,7 +14,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$Host = "", [string]$TurnMode = "", [int]$Timer = -999) diff --git a/Scripts/tell-joke.ps1 b/Scripts/tell-joke.ps1 index fda78de2..49efbde8 100755 --- a/Scripts/tell-joke.ps1 +++ b/Scripts/tell-joke.ps1 @@ -8,11 +8,11 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { - $Table = import-csv "$PSScriptRoot/../Data/jokes.csv" + $Table = Import-CSV "$PSScriptRoot/../Data/jokes.csv" $Generator = New-Object System.Random $Index = [int]$Generator.next(0, $Table.Count - 1) diff --git a/Scripts/tell-quote.ps1 b/Scripts/tell-quote.ps1 index 05546988..cc28903d 100755 --- a/Scripts/tell-quote.ps1 +++ b/Scripts/tell-quote.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/translate-file.ps1 b/Scripts/translate-file.ps1 index dedeb96c..b8d78b68 100755 --- a/Scripts/translate-file.ps1 +++ b/Scripts/translate-file.ps1 @@ -14,7 +14,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$File = "", [string]$SourceLang = "", [string]$TargetLang = "") diff --git a/Scripts/translate-files.ps1 b/Scripts/translate-files.ps1 index 5a5a06a0..90be1ab3 100755 --- a/Scripts/translate-files.ps1 +++ b/Scripts/translate-files.ps1 @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$FilePattern = "") diff --git a/Scripts/translate-text.ps1 b/Scripts/translate-text.ps1 index ca829f02..031aa891 100755 --- a/Scripts/translate-text.ps1 +++ b/Scripts/translate-text.ps1 @@ -14,7 +14,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$Text = "", [string]$SourceLangCode = "en", [string]$TargetLangCode = "any") diff --git a/Scripts/uninstall-nine-zip.ps1 b/Scripts/uninstall-nine-zip.ps1 index 3101d094..eab3ba49 100755 --- a/Scripts/uninstall-nine-zip.ps1 +++ b/Scripts/uninstall-nine-zip.ps1 @@ -5,10 +5,10 @@ This PowerShell script uninstalls 9 ZIP from the local computer. .EXAMPLE PS> ./uninstall-nine-zip -.NOTES - Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/talk2windows +.NOTES + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/uninstall-opera-gx.ps1 b/Scripts/uninstall-opera-gx.ps1 index de19d892..87e29cfa 100755 --- a/Scripts/uninstall-opera-gx.ps1 +++ b/Scripts/uninstall-opera-gx.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/uninstall-paint-3d.ps1 b/Scripts/uninstall-paint-3d.ps1 index b8bbe4d4..6d4b3437 100755 --- a/Scripts/uninstall-paint-3d.ps1 +++ b/Scripts/uninstall-paint-3d.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/uninstall-skype.ps1 b/Scripts/uninstall-skype.ps1 index 57845863..c5d63720 100755 --- a/Scripts/uninstall-skype.ps1 +++ b/Scripts/uninstall-skype.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/upgrade-ubuntu.ps1 b/Scripts/upgrade-ubuntu.ps1 index 91b163ea..334827d0 100755 --- a/Scripts/upgrade-ubuntu.ps1 +++ b/Scripts/upgrade-ubuntu.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/upload-file.ps1 b/Scripts/upload-file.ps1 index f278b206..3e7672c4 100755 --- a/Scripts/upload-file.ps1 +++ b/Scripts/upload-file.ps1 @@ -16,7 +16,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$File = "", [string]$URL = "", [string]$Username = "", [string]$Password = "") diff --git a/Scripts/wakeup.ps1 b/Scripts/wakeup.ps1 index 74d76a74..37c9a9d0 100755 --- a/Scripts/wakeup.ps1 +++ b/Scripts/wakeup.ps1 @@ -11,11 +11,10 @@ Specifies the UDP port (9 by default) .EXAMPLE PS> ./wakeup 11:22:33:44:55:66 192.168.100.100 - (PC wakes up) .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$MACaddress = "", [string]$IPaddress = "", [int]$Port=9) diff --git a/Scripts/weather-report.ps1 b/Scripts/weather-report.ps1 index 714976b1..3bbc6741 100755 --- a/Scripts/weather-report.ps1 +++ b/Scripts/weather-report.ps1 @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$GeoLocation = "") # empty means determine automatically diff --git a/Scripts/weather.ps1 b/Scripts/weather.ps1 index db12bea5..7e74f146 100755 --- a/Scripts/weather.ps1 +++ b/Scripts/weather.ps1 @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$GeoLocation = "") # empty means determine automatically diff --git a/Scripts/what-is.ps1 b/Scripts/what-is.ps1 index 56d2d960..6de708de 100755 --- a/Scripts/what-is.ps1 +++ b/Scripts/what-is.ps1 @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$abbreviation = "") diff --git a/Scripts/write-animated.ps1 b/Scripts/write-animated.ps1 index a085843e..6f64781d 100755 --- a/Scripts/write-animated.ps1 +++ b/Scripts/write-animated.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param($Line1 = "", $Line2 = "", $Line3 = "", $Line4 = "", $Line5 = "", $Line6 = "", $Line7 = "", $Line8 = "", $Line9 = "", [int]$Speed = 30) # 30 ms pause diff --git a/Scripts/write-big.ps1 b/Scripts/write-big.ps1 index f07434ff..1d829eee 100755 --- a/Scripts/write-big.ps1 +++ b/Scripts/write-big.ps1 @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$text = "") diff --git a/Scripts/write-blue.ps1 b/Scripts/write-blue.ps1 index d22cee1a..b7b1af24 100755 --- a/Scripts/write-blue.ps1 +++ b/Scripts/write-blue.ps1 @@ -10,7 +10,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param([string]$text = "") diff --git a/Scripts/write-braille.ps1 b/Scripts/write-braille.ps1 index 06861f6e..4f4782cb 100755 --- a/Scripts/write-braille.ps1 +++ b/Scripts/write-braille.ps1 @@ -7,10 +7,10 @@ Specifies the text to write .EXAMPLE PS> ./write-braille "Hello World" -.NOTES - Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> param([string]$text = "") diff --git a/Scripts/write-calendar.ps1 b/Scripts/write-calendar.ps1 index 36f033ee..b5ced8f1 100755 --- a/Scripts/write-calendar.ps1 +++ b/Scripts/write-calendar.ps1 @@ -19,10 +19,10 @@ .EXAMPLE PS> ./write-calendar 7 Outputs the calendar for July of this year. -.NOTES - Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> param([int]$Month = (Get-Date).Month, [int]$Year = (Get-Date).Year) diff --git a/Scripts/write-chart.ps1 b/Scripts/write-chart.ps1 index 0e47e9a1..0b88c842 100755 --- a/Scripts/write-chart.ps1 +++ b/Scripts/write-chart.ps1 @@ -5,10 +5,10 @@ This PowerShell script writes a chart. .EXAMPLE PS> ./write-chart -.NOTES - Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> function WriteChartLine { param([string]$Text, [float]$Value, [float]$Max) diff --git a/Scripts/write-green.ps1 b/Scripts/write-green.ps1 index ed7b3418..989bb901 100755 --- a/Scripts/write-green.ps1 +++ b/Scripts/write-green.ps1 @@ -7,10 +7,10 @@ Specifies the text to write .EXAMPLE PS> ./write-green "Hello World" -.NOTES - Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> param([string]$text = "") diff --git a/Scripts/write-joke.ps1 b/Scripts/write-joke.ps1 index 8e76ec43..ef3e1e1f 100755 --- a/Scripts/write-joke.ps1 +++ b/Scripts/write-joke.ps1 @@ -6,10 +6,10 @@ .EXAMPLE PS> ./write-joke When Chuck Norris does division, there are no remainders. 😂 -.NOTES - Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/write-lowercase.ps1 b/Scripts/write-lowercase.ps1 index 911a067e..a61c9157 100755 --- a/Scripts/write-lowercase.ps1 +++ b/Scripts/write-lowercase.ps1 @@ -7,10 +7,10 @@ Specifies the text to write .EXAMPLE PS> ./write-lowercase "Hello World" -.NOTES - Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> param([string]$text = "") diff --git a/Scripts/write-marquee.ps1 b/Scripts/write-marquee.ps1 index 156d36ac..c5e13222 100755 --- a/Scripts/write-marquee.ps1 +++ b/Scripts/write-marquee.ps1 @@ -9,10 +9,10 @@ Specifies the marquee speed (60 ms per default) .EXAMPLE PS> ./write-marquee "Hello World" -.NOTES - Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> param([string]$text = "PowerShell is powerful! PowerShell is cross-platform! PowerShell is open-source! PowerShell is easy to learn! Powershell is fully documented", [int]$speed = 60) # 60 ms pause diff --git a/Scripts/write-morse-code.ps1 b/Scripts/write-morse-code.ps1 index 762cabc9..7a78c6df 100755 --- a/Scripts/write-morse-code.ps1 +++ b/Scripts/write-morse-code.ps1 @@ -9,10 +9,10 @@ Specifies the speed of one time unit (100 ms per default) .EXAMPLE PS> ./write-morse-code "Hello World" -.NOTES - Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> param([string]$text = "", [int]$speed = 100) # one time unit in milliseconds diff --git a/Scripts/write-motd.ps1 b/Scripts/write-motd.ps1 index 53210018..499741b0 100755 --- a/Scripts/write-motd.ps1 +++ b/Scripts/write-motd.ps1 @@ -8,7 +8,7 @@ .LINK https://github.com/fleschutz/PowerShell .NOTES - Author: Markus Fleschutz / License: CC0 + Author: Markus Fleschutz | License: CC0 #> param () diff --git a/Scripts/write-quote.ps1 b/Scripts/write-quote.ps1 index f2013772..85984dba 100755 --- a/Scripts/write-quote.ps1 +++ b/Scripts/write-quote.ps1 @@ -5,10 +5,10 @@ This PowerShell script writes a random quote to the console. .EXAMPLE PS> ./write-quote -.NOTES - Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> try { diff --git a/Scripts/write-red.ps1 b/Scripts/write-red.ps1 index 6724716f..44931ea0 100755 --- a/Scripts/write-red.ps1 +++ b/Scripts/write-red.ps1 @@ -7,10 +7,10 @@ Specifies the text to write .EXAMPLE PS> ./write-red "Hello World" -.NOTES - Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> param([string]$text = "") diff --git a/Scripts/write-rot13.ps1 b/Scripts/write-rot13.ps1 index b675fc14..6accc3eb 100755 --- a/Scripts/write-rot13.ps1 +++ b/Scripts/write-rot13.ps1 @@ -7,10 +7,10 @@ Specifies the text to write .EXAMPLE PS> ./write-rot13 "Hello World" -.NOTES - Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> param([string]$text = "") diff --git a/Scripts/write-typewriter.ps1 b/Scripts/write-typewriter.ps1 index 6c428ddb..1148fda3 100755 --- a/Scripts/write-typewriter.ps1 +++ b/Scripts/write-typewriter.ps1 @@ -9,10 +9,10 @@ Specifies the speed (250 ms by default) .EXAMPLE PS> ./write-typewriter "Hello World" -.NOTES - Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> param([string]$text = "`nHello World`n-----------`nPowerShell is cross-platform`nPowerShell is open-source`nPowerShell is easy to learn`nPowerShell is fully documented`n`nThanks for watching`n`n:-)`n`n", [int]$speed = 250) # in milliseconds diff --git a/Scripts/write-uppercase.ps1 b/Scripts/write-uppercase.ps1 index 51914183..e8289365 100755 --- a/Scripts/write-uppercase.ps1 +++ b/Scripts/write-uppercase.ps1 @@ -7,10 +7,10 @@ Specifies the text to write .EXAMPLE PS> ./write-uppercase "Hello World" -.NOTES - Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> param([string]$text = "") diff --git a/Scripts/write-vertical.ps1 b/Scripts/write-vertical.ps1 index 709fa571..c41ab120 100755 --- a/Scripts/write-vertical.ps1 +++ b/Scripts/write-vertical.ps1 @@ -7,10 +7,10 @@ Specifies the text to write .EXAMPLE PS> ./write-vertical "Hello World" -.NOTES - Author: Markus Fleschutz / License: CC0 .LINK https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 #> param([string]$text = "")