mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-07-06 07:30:04 +02:00
Update the manual pages
This commit is contained in:
Docs
add-firewall-rules.mdadd-memo.mdalert.mdbuild-repo.mdbuild-repos.mdcd-autostart.mdcd-crashdumps.mdcd-desktop.mdcd-docs.mdcd-downloads.mdcd-dropbox.mdcd-etc.mdcd-fonts.mdcd-home.mdcd-logs.mdcd-music.mdcd-onedrive.mdcd-pics.mdcd-public.mdcd-recycle-bin.mdcd-repos.mdcd-root.mdcd-screenshots.mdcd-scripts.mdcd-ssh.mdcd-temp.mdcd-templates.mdcd-trash.mdcd-up.mdcd-up2.mdcd-up3.mdcd-up4.mdcd-users.mdcd-videos.mdcd-windows.mdchange-wallpaper.mdcheck-apps.mdcheck-battery.mdcheck-bios.mdcheck-cpu.mdcheck-day.mdcheck-dns.mdcheck-drive-space.mdcheck-drives.mdcheck-dusk.mdcheck-easter-sunday.mdcheck-file-system.mdcheck-file.mdcheck-firewall.mdcheck-gpu.mdcheck-hardware.mdcheck-health.mdcheck-independence-day.mdcheck-ip.mdcheck-ipv4-address.mdcheck-ipv6-address.mdcheck-iss-position.mdcheck-mac-address.mdcheck-midnight.mdcheck-month.mdcheck-moon-phase.mdcheck-network.mdcheck-new-year.mdcheck-noon.mdcheck-os.mdcheck-outlook.mdcheck-password.mdcheck-pending-reboot.mdcheck-ping.mdcheck-powershell.mdcheck-ps1-file.mdcheck-ram.mdcheck-repo.mdcheck-santa.mdcheck-smart-devices.mdcheck-software.mdcheck-subnet-mask.mdcheck-swap-space.mdcheck-symlinks.mdcheck-time-zone.mdcheck-uptime.mdcheck-vpn.mdcheck-weather.mdcheck-week.mdcheck-wind.mdcheck-windows-system-files.mdcheck-xml-file.mdclean-repo.mdclean-repos.mdclear-dns-cache.mdclear-recycle-bin.mdclone-repos.mdclose-calculator.mdclose-chrome.mdclose-cortana.mdclose-edge.mdclose-file-explorer.mdclose-firefox.mdclose-git-extensions.mdclose-magnifier.mdclose-microsoft-paint.mdclose-microsoft-store.mdclose-netflix.mdclose-note-pad.mdclose-obs-studio.mdclose-one-calendar.mdclose-outlook.mdclose-paint-three-d.mdclose-program.mdclose-serenade.mdclose-snipping-tool.mdclose-spotify.mdclose-task-manager.mdclose-three-d-viewer.mdclose-thunderbird.mdclose-visual-studio.mdclose-vlc.mdclose-windows-terminal.mdconfigure-git.mdconnect-vpn.mdconvert-csv2txt.mdconvert-docx2md.mdconvert-frames2mp4.mdconvert-image2ascii.mdconvert-image2blurred-frames.mdconvert-image2pixelated-frames.mdconvert-md2docx.mdconvert-md2html.mdconvert-md2pdf.mdconvert-mysql2csv.mdconvert-ps2bat.mdconvert-ps2md.mdconvert-sql2csv.mdconvert-txt2wav.mdcopy-photos-sorted.mdcount-lines-of-code.mddecrypt-file.mddisconnect-vpn.mddownload-dir.mddownload-file.mdedit.mdenable-crash-dumps.mdenable-god-mode.mdencrypt-file.mdenter-chat.mdexport-to-manuals.mdfetch-repo.mdfetch-repos.mdget-md5.mdget-sha1.mdget-sha256.mdhibernate.mdinspect-exe.mdinstall-audacity.mdinstall-basic-apps.mdinstall-basic-snaps.mdinstall-calibre-server.mdinstall-chocolatey.mdinstall-chrome-browser.mdinstall-chrome.mdinstall-crystal-disk-info.mdinstall-crystal-disk-mark.mdinstall-discord.mdinstall-edge.mdinstall-evcc.mdinstall-firefox.mdinstall-git-extensions.mdinstall-git-for-windows.mdinstall-github-cli.mdinstall-irfanview.mdinstall-knot-resolver.mdinstall-microsoft-teams.mdinstall-netflix.mdinstall-nine-zip.mdinstall-obs-studio.mdinstall-one-calendar.mdinstall-opera-browser.mdinstall-opera-gx.mdinstall-paint-3d.mdinstall-power-toys.mdinstall-powershell.mdinstall-rufus.mdinstall-signal-cli.mdinstall-skype.mdinstall-spotify.mdinstall-ssh-client.mdinstall-ssh-server.mdinstall-thunderbird.mdinstall-twitter.mdinstall-unbound-server.mdinstall-updates.mdinstall-visual-studio-code.mdinstall-vivaldi.mdinstall-vlc.mdinstall-windows-terminal.mdinstall-wsl.mdinstall-zoom.mdintroduce-powershell.mdlist-aliases.mdlist-anagrams.mdlist-apps.mdlist-ascii-table.mdlist-automatic-variables.mdlist-battery-status.mdlist-bios.mdlist-bluetooth-devices.mdlist-branches.mdlist-calendar.mdlist-cheat-sheet.mdlist-city-weather.mdlist-cli-tools.mdlist-clipboard.mdlist-cmdlets.mdlist-coffee-prices.mdlist-commit-statistics.mdlist-commits.mdlist-console-colors.mdlist-countries.mdlist-cpu.mdlist-credits.mdlist-crypto-rates.mdlist-dir-tree.mdlist-dns-servers.mdlist-drives.mdlist-earthquakes.mdlist-emojis.mdlist-empty-dirs.mdlist-empty-files.mdlist-environment-variables.mdlist-exchange-rates.mdlist-fibonacci.mdlist-files.mdlist-folder.mdlist-fritzbox-calls.mdlist-fritzbox-devices.mdlist-headlines.mdlist-hidden-files.mdlist-installed-languages.mdlist-installed-scripts.mdlist-installed-software.mdlist-latest-tag.mdlist-latest-tags.mdlist-memos.mdlist-modules.mdlist-motherboard.mdlist-mysql-tables.mdlist-network-connections.mdlist-network-routes.mdlist-network-shares.mdlist-news.mdlist-nic.mdlist-os-releases.mdlist-os-updates.mdlist-os.mdlist-outlook-inbox.mdlist-outlook-sent.mdlist-passwords.mdlist-pi.mdlist-pins.mdlist-print-jobs.mdlist-printers.mdlist-processes.mdlist-profiles.mdlist-ram.mdlist-recycle-bin.mdlist-repos.mdlist-scripts.mdlist-services.mdlist-special-folders.mdlist-sql-tables.mdlist-submodules.mdlist-suggestions.mdlist-system-info.mdlist-tags.mdlist-tasks.mdlist-timezone.mdlist-timezones.mdlist-tiobe-index.mdlist-unused-files.mdlist-updates.mdlist-user-accounts.mdlist-user-groups.mdlist-verbs.mdlist-voices.mdlist-weather.mdlist-wifi.mdlist-window-titles.mdlist-workdir.mdlocate-city.mdlocate-ipaddress.mdlocate-my-phone.mdlocate-zip-code.mdlock-desktop.mdlog-off.mdmake-install.mdmerry-christmas.mdminimize-all-windows.mdmoon.mdmy-profile.mdnew-branch.mdnew-email.mdnew-qrcode.mdnew-script.mdnew-shortcut.mdnew-symlink.mdnew-tag.mdnew-user.mdnew-zipfile.mdon-desktop-login.mdopen-apps-folder.mdopen-auto-start-folder.mdopen-bing-maps.mdopen-booking-com.mdopen-c-drive.mdopen-calculator.mdopen-chrome.mdopen-clock.mdopen-cortana.mdopen-d-drive.mdopen-dashboards.mdopen-deep-l-translator.mdopen-default-browser.mdopen-desktop-folder.mdopen-documents-folder.mdopen-downloads-folder.mdopen-dropbox-folder.mdopen-duck-duck-go.mdopen-e-drive.mdopen-edge.mdopen-egg-timer.mdopen-email-client.mdopen-f-drive.mdopen-file-explorer.mdopen-fire-place.mdopen-firefox.mdopen-flight-radar.mdopen-g-drive.mdopen-git-extensions.mdopen-google-books.mdopen-google-calendar.mdopen-google-contacts.mdopen-google-docs.mdopen-google-earth.mdopen-google-mail.mdopen-google-maps.mdopen-google-news.mdopen-google-photos.mdopen-google-play.mdopen-google-search.mdopen-google-stadia.mdopen-google-translate.mdopen-home-folder.mdopen-internet-archive.mdopen-jitsi-meet.mdopen-m-drive.mdopen-magnifier.mdopen-microsoft-paint.mdopen-microsoft-solitaire.mdopen-microsoft-store.mdopen-microsoft-teams.mdopen-music-folder.mdopen-netflix.mdopen-note-pad.mdopen-obs-studio.mdopen-office-365.mdopen-one-drive-folder.mdopen-outlook.mdopen-paint-three-d.mdopen-pictures-folder.mdopen-recycle-bin-folder.mdopen-remote-desktop.mdopen-repos-folder.mdopen-screen-clip.mdopen-screen-sketch.mdopen-skype.mdopen-snipping-tool.mdopen-speed-test.mdopen-spotify.mdopen-stack-overflow.mdopen-start-page.mdopen-street-map.mdopen-task-manager.mdopen-temporary-folder.mdopen-three-d-viewer.mdopen-thunderbird.mdopen-videos-folders.mdopen-visual-studio.mdopen-vpn-settings.mdopen-windows-defender.mdopen-windows-terminal.mdopen-xing.mdpick-commit.mdping-weather.mdplay-bee-sound.mdplay-beep-sound.mdplay-cat-sound.mdplay-cow-sound.mdplay-dog-sound.mdplay-donkey-sound.mdplay-elephant-sound.mdplay-elk-sound.mdplay-files.mdplay-frog-sound.mdplay-goat-sound.mdplay-gorilla-sound.mdplay-happy-birthday.mdplay-horse-sound.mdplay-imperial-march.mdplay-jingle-bells.mdplay-lion-sound.mdplay-m3u.mdplay-mission-impossible.mdplay-mp3.mdplay-parrot-sound.mdplay-pig-sound.mdplay-rattlesnake-sound.mdplay-super-mario.mdplay-tetris-melody.mdplay-vulture-sound.mdplay-wolf-sound.mdpoweroff.mdprint-image.mdpublish-to-ipfs.mdpull-repo.mdpull-repos.mdquery-smart-data.mdreboot-fritzbox.mdreboot.mdremind-me.mdremove-empty-dirs.mdremove-old-dirs.mdremove-print-jobs.mdremove-tag.mdreplace-in-files.mdrestart-network-adapters.mdroll-a-dice.mdsave-screenshot.mdscan-ports.mdsearch-filename.mdsearch-files.mdsend-email.mdsend-tcp.mdsend-udp.mdset-profile.mdset-timer.mdset-volume.mdset-wallpaper.mdshow-lightnings.mdshow-notification.mdshow-traffic.mdsimulate-presence.mdsmart-data2csv.mdspeak-arabic.mdspeak-checklist.mdspeak-countdown.mdspeak-croatian.mdspeak-danish.mdspeak-dutch.mdspeak-english.mdspeak-epub.mdspeak-esperanto.mdspeak-file.mdspeak-finnish.mdspeak-french.mdspeak-german.mdspeak-greek.mdspeak-hebrew.mdspeak-hindi.mdspeak-italian.mdspeak-japanese.mdspeak-korean.mdspeak-latin.mdspeak-mandarin.mdspeak-norwegian.mdspeak-polish.mdspeak-portuguese.mdspeak-spanish.mdspeak-swedish.mdspeak-test.mdspeak-text.mdspeak-thai.mdspeak-turkish.mdspeak-ukrainian.mdspell-word.mdstart-ipfs-server.mdsuspend.mdswitch-branch.mdswitch-shelly1.mdswitch-tabs.mdsync-repo.mdtell-joke.mdtell-quote.mdtoggle-caps-lock.mdtoggle-num-lock.mdtoggle-scroll-lock.mdtranslate-file.mdtranslate-files.mdtranslate-text.mdturn-volume-down.mdturn-volume-fully-up.mdturn-volume-off.mdturn-volume-on.mdturn-volume-up.mduninstall-all-apps.mduninstall-bloatware.mduninstall-crystal-disk-info.mduninstall-crystal-disk-mark.mduninstall-discord.mduninstall-edge.mduninstall-firefox.mduninstall-git-extensions.mduninstall-irfanview.mduninstall-microsoft-teams.mduninstall-netflix.mduninstall-nine-zip.mduninstall-one-calendar.mduninstall-opera-browser.mduninstall-opera-gx.mduninstall-paint-3d.mduninstall-rufus.mduninstall-skype.mduninstall-spotify.mduninstall-twitter.mduninstall-visual-studio-code.mduninstall-vlc.mduninstall-windows-terminal.mdupgrade-ubuntu.mdupload-file.mdupload-to-dropbox.mdwake-up.mdweather-report.mdweather.mdwhat-is.mdwrite-animated.mdwrite-ascii-image.mdwrite-big.mdwrite-blue.mdwrite-braille.mdwrite-chart.mdwrite-clock.mdwrite-code.mdwrite-date.mdwrite-fractal.mdwrite-green.mdwrite-joke.mdwrite-lowercase.mdwrite-marquee.mdwrite-matrix.mdwrite-morse-code.mdwrite-motd.mdwrite-qr-code.mdwrite-quote.mdwrite-red.mdwrite-rot13.mdwrite-shit.mdwrite-sine-curves.mdwrite-time.mdwrite-typewriter.mdwrite-uppercase.mdwrite-vertical.md
@ -25,7 +25,7 @@ PS> ./add-firewall-rules.ps1 [[-PathToExecutables] <String>] [<CommonParameters>
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./add-firewall-rules C:\MyApp\bin
|
||||
PS> ./add-firewall-rules.ps1 C:\MyApp\bin
|
||||
Adding firewall rule for C:\MyApp\bin\app1.exe
|
||||
Adding firewall rule for C:\MyApp\bin\app2.exe
|
||||
...
|
||||
@ -51,7 +51,7 @@ Script Content
|
||||
.PARAMETER PathToExecutables
|
||||
Specifies the path to the executables
|
||||
.EXAMPLE
|
||||
PS> ./add-firewall-rules C:\MyApp\bin
|
||||
PS> ./add-firewall-rules.ps1 C:\MyApp\bin
|
||||
Adding firewall rule for C:\MyApp\bin\app1.exe
|
||||
Adding firewall rule for C:\MyApp\bin\app2.exe
|
||||
...
|
||||
@ -109,4 +109,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of add-firewall-rules.ps1 as of 08/06/2023 11:42:25)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of add-firewall-rules.ps1 as of 08/06/2023 21:36:04)*
|
||||
|
@ -25,7 +25,7 @@ PS> ./add-memo.ps1 [[-text] <String>] [<CommonParameters>]
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./add-memo "Buy apples"
|
||||
PS> ./add-memo.ps1 "Buy apples"
|
||||
✔️ saved to 📄/home/markus/Memos.csv
|
||||
|
||||
```
|
||||
@ -49,7 +49,7 @@ Script Content
|
||||
.PARAMETER text
|
||||
Specifies the text to memorize
|
||||
.EXAMPLE
|
||||
PS> ./add-memo "Buy apples"
|
||||
PS> ./add-memo.ps1 "Buy apples"
|
||||
✔️ saved to 📄/home/markus/Memos.csv
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
@ -79,4 +79,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of add-memo.ps1 as of 08/06/2023 11:42:25)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of add-memo.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -25,7 +25,7 @@ PS> ./alert.ps1 [[-Message] <String>] [<CommonParameters>]
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./alert "Harddisk failure"
|
||||
PS> ./alert.ps1 "Harddisk failure"
|
||||
|
||||
```
|
||||
|
||||
@ -48,7 +48,7 @@ Script Content
|
||||
.PARAMETER message
|
||||
Specifies the alert message
|
||||
.EXAMPLE
|
||||
PS> ./alert "Harddisk failure"
|
||||
PS> ./alert.ps1 "Harddisk failure"
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -71,4 +71,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of alert.ps1 as of 08/06/2023 11:42:25)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of alert.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -25,7 +25,7 @@ PS> ./build-repo.ps1 [[-RepoDir] <String>] [<CommonParameters>]
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./build-repo C:\MyRepo
|
||||
PS> ./build-repo.ps1 C:\MyRepo
|
||||
|
||||
```
|
||||
|
||||
@ -48,7 +48,7 @@ Script Content
|
||||
.PARAMETER RepoDir
|
||||
Specifies the path to the Git repository
|
||||
.EXAMPLE
|
||||
PS> ./build-repo C:\MyRepo
|
||||
PS> ./build-repo.ps1 C:\MyRepo
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -177,4 +177,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of build-repo.ps1 as of 08/06/2023 11:42:25)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of build-repo.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -25,7 +25,7 @@ PS> ./build-repos.ps1 [[-ParentDir] <String>] [<CommonParameters>]
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./build-repos C:\MyRepos
|
||||
PS> ./build-repos.ps1 C:\MyRepos
|
||||
|
||||
```
|
||||
|
||||
@ -48,7 +48,7 @@ Script Content
|
||||
.PARAMETER ParentDir
|
||||
Specifies the path to the parent folder
|
||||
.EXAMPLE
|
||||
PS> ./build-repos C:\MyRepos
|
||||
PS> ./build-repos.ps1 C:\MyRepos
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -82,4 +82,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of build-repos.ps1 as of 08/06/2023 11:42:25)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of build-repos.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -16,7 +16,7 @@ PS> ./cd-autostart.ps1 [<CommonParameters>]
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./cd-autostart
|
||||
PS> ./cd-autostart.ps1
|
||||
📂C:\Users\Markus\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
|
||||
|
||||
```
|
||||
@ -38,7 +38,7 @@ Script Content
|
||||
.DESCRIPTION
|
||||
This PowerShell script changes the working directory to the user's autostart folder.
|
||||
.EXAMPLE
|
||||
PS> ./cd-autostart
|
||||
PS> ./cd-autostart.ps1
|
||||
📂C:\Users\Markus\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
@ -60,4 +60,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-autostart.ps1 as of 08/06/2023 11:42:25)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-autostart.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -60,4 +60,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-crashdumps.ps1 as of 08/06/2023 11:42:25)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-crashdumps.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -64,4 +64,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-desktop.ps1 as of 08/06/2023 11:42:25)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-desktop.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -64,4 +64,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-docs.ps1 as of 08/06/2023 11:42:25)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-docs.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -64,4 +64,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-downloads.ps1 as of 08/06/2023 11:42:25)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-downloads.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -17,7 +17,7 @@ Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./cd-dropbox
|
||||
📂/home/Markus/Dropbox
|
||||
📂C:\Users\Markus\Dropbox
|
||||
|
||||
```
|
||||
|
||||
@ -39,7 +39,7 @@ Script Content
|
||||
This PowerShell script changes the working directory to the user's Dropbox folder.
|
||||
.EXAMPLE
|
||||
PS> ./cd-dropbox
|
||||
📂/home/Markus/Dropbox
|
||||
📂C:\Users\Markus\Dropbox
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -60,4 +60,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-dropbox.ps1 as of 08/06/2023 11:42:25)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-dropbox.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -64,4 +64,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-etc.ps1 as of 08/06/2023 11:42:25)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-etc.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -60,4 +60,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-fonts.ps1 as of 08/06/2023 11:42:25)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-fonts.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -17,7 +17,7 @@ Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./cd-home
|
||||
📂/home/Markus
|
||||
📂C:\Users\Markus
|
||||
|
||||
```
|
||||
|
||||
@ -39,7 +39,7 @@ Script Content
|
||||
This PowerShell script changes the working directory to the user's home directory.
|
||||
.EXAMPLE
|
||||
PS> ./cd-home
|
||||
📂/home/Markus
|
||||
📂C:\Users\Markus
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -60,4 +60,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-home.ps1 as of 08/06/2023 11:42:25)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-home.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -48,4 +48,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-logs.ps1 as of 08/06/2023 11:42:25)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-logs.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -17,7 +17,7 @@ Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./cd-music
|
||||
📂/home/Markus/Music
|
||||
📂C:\Users\Markus\Music
|
||||
|
||||
```
|
||||
|
||||
@ -39,7 +39,7 @@ Script Content
|
||||
This PowerShell script changes the working directory to the user's music folder.
|
||||
.EXAMPLE
|
||||
PS> ./cd-music
|
||||
📂/home/Markus/Music
|
||||
📂C:\Users\Markus\Music
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -64,4 +64,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-music.ps1 as of 08/06/2023 11:42:25)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-music.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -17,7 +17,7 @@ Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./cd-onedrive
|
||||
📂/home/Markus/OneDrive
|
||||
📂C:\Users\Markus\OneDrive
|
||||
|
||||
```
|
||||
|
||||
@ -39,7 +39,7 @@ Script Content
|
||||
This PowerShell script changes the working directory to the user's OneDrive folder.
|
||||
.EXAMPLE
|
||||
PS> ./cd-onedrive
|
||||
📂/home/Markus/OneDrive
|
||||
📂C:\Users\Markus\OneDrive
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -60,4 +60,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-onedrive.ps1 as of 08/06/2023 11:42:25)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-onedrive.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -17,7 +17,7 @@ Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./cd-pics
|
||||
📂/home/Markus/Pictures
|
||||
📂C:\Users\Markus\Pictures
|
||||
|
||||
```
|
||||
|
||||
@ -39,7 +39,7 @@ Script Content
|
||||
This PowerShell script changes the working directory to the user's pictures folder.
|
||||
.EXAMPLE
|
||||
PS> ./cd-pics
|
||||
📂/home/Markus/Pictures
|
||||
📂C:\Users\Markus\Pictures
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -52,9 +52,7 @@ try {
|
||||
} else {
|
||||
$Path = [Environment]::GetFolderPath('MyPictures')
|
||||
}
|
||||
if (-not(Test-Path "$Path" -pathType container)) {
|
||||
throw "Pictures folder at 📂$Path doesn't exist (yet)"
|
||||
}
|
||||
if (-not(Test-Path "$Path" -pathType container)) { throw "Pictures folder at 📂$Path doesn't exist (yet)" }
|
||||
Set-Location "$Path"
|
||||
"📂$Path"
|
||||
exit 0 # success
|
||||
@ -64,4 +62,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-pics.ps1 as of 08/06/2023 11:42:25)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-pics.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -52,16 +52,14 @@ try {
|
||||
} else {
|
||||
$Path = Resolve-Path "~/../Public"
|
||||
}
|
||||
if (Test-Path "$Path" -pathType container) {
|
||||
Set-Location "$Path"
|
||||
"📂$Path"
|
||||
exit 0 # success
|
||||
}
|
||||
throw "Public folder at 📂$Path doesn't exist (yet)"
|
||||
if (-not(Test-Path "$Path" -pathType container)) { throw "Public folder at 📂$Path doesn't exist (yet)" }
|
||||
Set-Location "$Path"
|
||||
"📂$Path"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-public.ps1 as of 08/06/2023 11:42:25)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-public.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -43,9 +43,7 @@ try {
|
||||
} else {
|
||||
$Path = "C:\$Recycle.Bin\" + "$(GetCurrentUserSID)"
|
||||
}
|
||||
if (-not(Test-Path "$Path" -pathType container)) {
|
||||
throw "Recycle bin folder at 📂$Path doesn't exist (yet)"
|
||||
}
|
||||
if (-not(Test-Path "$Path" -pathType container)) { throw "Recycle bin folder at 📂$Path doesn't exist (yet)" }
|
||||
Set-Location "$Path"
|
||||
"📂$Path"
|
||||
exit 0 # success
|
||||
@ -55,4 +53,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-recycle-bin.ps1 as of 08/06/2023 11:42:25)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-recycle-bin.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -26,7 +26,7 @@ Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./cd-repos
|
||||
📂C:\Users\Markus\Repos
|
||||
📂C:\Users\Markus\source\Repos
|
||||
|
||||
```
|
||||
|
||||
@ -50,7 +50,7 @@ Script Content
|
||||
Specifies an additional relative subpath (optional)
|
||||
.EXAMPLE
|
||||
PS> ./cd-repos
|
||||
📂C:\Users\Markus\Repos
|
||||
📂C:\Users\Markus\source\Repos
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -69,9 +69,7 @@ try {
|
||||
} else {
|
||||
throw "The folder for Git repositories in your home directory doesn't exist (yet)."
|
||||
}
|
||||
if (-not(Test-Path "$Path" -pathType Container)) {
|
||||
throw "The path to 📂$Path doesn't exist (yet)."
|
||||
}
|
||||
if (-not(Test-Path "$Path" -pathType Container)) { throw "The path to 📂$Path doesn't exist (yet)." }
|
||||
$Path = Resolve-Path "$Path"
|
||||
Set-Location "$Path"
|
||||
"📂$Path"
|
||||
@ -82,4 +80,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-repos.ps1 as of 08/06/2023 11:42:25)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-repos.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -57,4 +57,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-root.ps1 as of 08/06/2023 11:42:25)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-root.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -55,4 +55,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-screenshots.ps1 as of 08/06/2023 11:42:25)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-screenshots.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -17,7 +17,7 @@ Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./cd-scripts
|
||||
📂/home/Markus/PowerShell/Scripts
|
||||
📂C:\Users\Markus\source\repos\PowerShell\Scripts
|
||||
|
||||
```
|
||||
|
||||
@ -39,7 +39,7 @@ Script Content
|
||||
This PowerShell script changes the working directory to the PowerShell scripts folder.
|
||||
.EXAMPLE
|
||||
PS> ./cd-scripts
|
||||
📂/home/Markus/PowerShell/Scripts
|
||||
📂C:\Users\Markus\source\repos\PowerShell\Scripts
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -48,9 +48,7 @@ Script Content
|
||||
|
||||
try {
|
||||
$Path = Resolve-Path "$PSScriptRoot"
|
||||
if (-not(Test-Path "$Path" -pathType container)) {
|
||||
throw "PowerShell scripts folder at 📂$Path doesn't exist (yet)"
|
||||
}
|
||||
if (-not(Test-Path "$Path" -pathType container)) { throw "PowerShell scripts folder at 📂$Path doesn't exist (yet)" }
|
||||
Set-Location "$Path"
|
||||
"📂$Path"
|
||||
exit 0 # success
|
||||
@ -60,4 +58,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-scripts.ps1 as of 08/06/2023 11:42:25)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-scripts.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -17,7 +17,7 @@ Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./cd-ssh
|
||||
📂/home/Markus/.ssh
|
||||
📂C:\Users\Markus\.ssh
|
||||
|
||||
```
|
||||
|
||||
@ -39,7 +39,7 @@ Script Content
|
||||
This PowerShell script changes the working directory to the user's SSH folder.
|
||||
.EXAMPLE
|
||||
PS> ./cd-ssh
|
||||
📂/home/Markus/.ssh
|
||||
📂C:\Users\Markus\.ssh
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -48,16 +48,14 @@ Script Content
|
||||
|
||||
try {
|
||||
$Path = Resolve-Path "~/.ssh"
|
||||
if (Test-Path "$Path" -pathType container) {
|
||||
Set-Location "$Path"
|
||||
"📂$Path"
|
||||
exit 0 # success
|
||||
}
|
||||
throw "User's SSH folder at 📂$Path doesn't exist (yet)"
|
||||
if (-not(Test-Path "$Path" -pathType container)) { throw "User's SSH folder at 📂$Path doesn't exist (yet)" }
|
||||
Set-Location "$Path"
|
||||
"📂$Path"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-ssh.ps1 as of 08/06/2023 11:42:25)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-ssh.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -40,9 +40,7 @@ function GetTempDir {
|
||||
|
||||
try {
|
||||
$Path = GetTempDir
|
||||
if (-not(Test-Path "$Path" -pathType container)) {
|
||||
throw "Temporary folder at 📂$Path doesn't exist (yet)"
|
||||
}
|
||||
if (-not(Test-Path "$Path" -pathType container)) { throw "Temporary folder at 📂$Path doesn't exist (yet)" }
|
||||
Set-Location "$Path"
|
||||
"📂$Path"
|
||||
exit 0 # success
|
||||
@ -52,4 +50,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-temp.ps1 as of 08/06/2023 11:42:25)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-temp.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -52,16 +52,14 @@ try {
|
||||
} else {
|
||||
$Path = [Environment]::GetFolderPath('Templates')
|
||||
}
|
||||
if (Test-Path "$Path" -pathType container) {
|
||||
Set-Location "$Path"
|
||||
"📂$Path"
|
||||
exit 0 # success
|
||||
}
|
||||
throw "Templates folder at 📂$Path doesn't exist (yet)"
|
||||
if (-not(Test-Path "$Path" -pathType container)) { throw "Templates folder at 📂$Path doesn't exist (yet)" }
|
||||
Set-Location "$Path"
|
||||
"📂$Path"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
exit 1
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-templates.ps1 as of 08/06/2023 11:42:25)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-templates.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -43,9 +43,7 @@ try {
|
||||
} else {
|
||||
$Path = "C:\$Recycle.Bin\" + "$(GetCurrentUserSID)"
|
||||
}
|
||||
if (-not(Test-Path "$Path" -pathType container)) {
|
||||
throw "Trash folder at 📂$Path doesn't exist (yet)"
|
||||
}
|
||||
if (-not(Test-Path "$Path" -pathType container)) { throw "Trash folder at 📂$Path doesn't exist (yet)" }
|
||||
Set-Location "$Path"
|
||||
"📂$Path"
|
||||
exit 0 # success
|
||||
@ -55,4 +53,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-trash.ps1 as of 08/06/2023 11:42:25)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-trash.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -48,9 +48,7 @@ Script Content
|
||||
|
||||
try {
|
||||
$Path = Resolve-Path ".."
|
||||
if (-not(Test-Path "$Path" -pathType container)) {
|
||||
throw "Folder at 📂$Path doesn't exist (yet)"
|
||||
}
|
||||
if (-not(Test-Path "$Path" -pathType container)) { throw "Folder at 📂$Path doesn't exist (yet)" }
|
||||
Set-Location "$Path"
|
||||
"📂$Path"
|
||||
exit 0 # success
|
||||
@ -60,4 +58,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-up.ps1 as of 08/06/2023 11:42:25)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-up.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -48,9 +48,7 @@ Script Content
|
||||
|
||||
try {
|
||||
$Path = Resolve-Path "../.."
|
||||
if (-not(Test-Path "$Path" -pathType container)) {
|
||||
throw "Folder at 📂$Path doesn't exist (yet)"
|
||||
}
|
||||
if (-not(Test-Path "$Path" -pathType container)) { throw "Folder at 📂$Path doesn't exist (yet)" }
|
||||
Set-Location "$Path"
|
||||
"📂$Path"
|
||||
exit 0 # success
|
||||
@ -60,4 +58,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-up2.ps1 as of 08/06/2023 11:42:25)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-up2.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -48,9 +48,7 @@ Script Content
|
||||
|
||||
try {
|
||||
$Path = Resolve-Path "../../.."
|
||||
if (-not(Test-Path "$Path" -pathType container)) {
|
||||
throw "Folder at 📂$Path doesn't exist (yet)"
|
||||
}
|
||||
if (-not(Test-Path "$Path" -pathType container)) { throw "Folder at 📂$Path doesn't exist (yet)" }
|
||||
Set-Location "$Path"
|
||||
"📂$Path"
|
||||
exit 0 # success
|
||||
@ -60,4 +58,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-up3.ps1 as of 08/06/2023 11:42:25)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-up3.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -48,9 +48,7 @@ Script Content
|
||||
|
||||
try {
|
||||
$Path = Resolve-Path "../../../.."
|
||||
if (-not(Test-Path "$Path" -pathType container)) {
|
||||
throw "Folder at 📂$Path doesn't exist (yet)"
|
||||
}
|
||||
if (-not(Test-Path "$Path" -pathType container)) { throw "Folder at 📂$Path doesn't exist (yet)" }
|
||||
Set-Location "$Path"
|
||||
"📂$Path"
|
||||
exit 0 # success
|
||||
@ -60,4 +58,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-up4.ps1 as of 08/06/2023 11:42:25)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-up4.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -48,9 +48,7 @@ Script Content
|
||||
|
||||
try {
|
||||
$Path = Resolve-Path "$HOME/.."
|
||||
if (-not(Test-Path "$Path" -pathType container)) {
|
||||
throw "Users directory at 📂$Path doesn't exist (yet)"
|
||||
}
|
||||
if (-not(Test-Path "$Path" -pathType container)) { throw "Users directory at 📂$Path doesn't exist (yet)" }
|
||||
Set-Location "$Path"
|
||||
"📂$Path"
|
||||
exit 0 # success
|
||||
@ -60,4 +58,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-users.ps1 as of 08/06/2023 11:42:25)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-users.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -52,9 +52,7 @@ try {
|
||||
} else {
|
||||
$Path = [Environment]::GetFolderPath('MyVideos')
|
||||
}
|
||||
if (-not(Test-Path "$Path" -pathType container)) {
|
||||
throw "Videos folder at 📂$Path doesn't exist (yet)"
|
||||
}
|
||||
if (-not(Test-Path "$Path" -pathType container)) { throw "Videos folder at 📂$Path doesn't exist (yet)" }
|
||||
Set-Location "$Path"
|
||||
"📂$Path"
|
||||
exit 0 # success
|
||||
@ -64,4 +62,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-videos.ps1 as of 08/06/2023 11:42:25)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-videos.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -48,9 +48,7 @@ Script Content
|
||||
|
||||
try {
|
||||
$Path = Resolve-Path "$env:WINDIR"
|
||||
if (-not(Test-Path "$Path" -pathType container)) {
|
||||
throw "Windows directory at 📂$Path doesn't exist"
|
||||
}
|
||||
if (-not(Test-Path "$Path" -pathType container)) { throw "Windows directory at 📂$Path doesn't exist" }
|
||||
Set-Location "$Path"
|
||||
"📂$Path"
|
||||
exit 0 # success
|
||||
@ -60,4 +58,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-windows.ps1 as of 08/06/2023 11:42:25)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of cd-windows.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -79,4 +79,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of change-wallpaper.ps1 as of 08/06/2023 11:42:25)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of change-wallpaper.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -16,7 +16,7 @@ PS> ./check-apps.ps1 [<CommonParameters>]
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-apps
|
||||
PS> ./check-apps.ps1
|
||||
✅ 119 apps installed, 11 upgrades available
|
||||
|
||||
```
|
||||
@ -38,7 +38,7 @@ Script Content
|
||||
.DESCRIPTION
|
||||
This PowerShell script queries the application status and prints it.
|
||||
.EXAMPLE
|
||||
PS> ./check-apps
|
||||
PS> ./check-apps.ps1
|
||||
✅ 119 apps installed, 11 upgrades available
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
@ -72,4 +72,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-apps.ps1 as of 08/06/2023 11:42:25)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-apps.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -16,7 +16,7 @@ PS> ./check-battery.ps1 [<CommonParameters>]
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-battery
|
||||
PS> ./check-battery.ps1
|
||||
⚠️ Battery 9% low, 54 min remaining
|
||||
|
||||
```
|
||||
@ -38,7 +38,7 @@ Script Content
|
||||
.DESCRIPTION
|
||||
This PowerShell script queries the status of the system battery and prints it.
|
||||
.EXAMPLE
|
||||
PS> ./check-battery
|
||||
PS> ./check-battery.ps1
|
||||
⚠️ Battery 9% low, 54 min remaining
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
@ -86,4 +86,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-battery.ps1 as of 08/06/2023 11:42:25)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-battery.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -16,8 +16,8 @@ PS> ./check-bios.ps1 [<CommonParameters>]
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-bios
|
||||
✅ BIOS 'F6', release ALASKA - 1072009, S/N NXA82EV0EBB0760 by American Megatrends Inc.
|
||||
PS> ./check-bios.ps1
|
||||
✅ BIOS model F6 version ALASKA - 1072009 by American Megatrends Inc.
|
||||
|
||||
```
|
||||
|
||||
@ -38,8 +38,8 @@ Script Content
|
||||
.DESCRIPTION
|
||||
This PowerShell script queries the BIOS status and prints it.
|
||||
.EXAMPLE
|
||||
PS> ./check-bios
|
||||
✅ BIOS 'F6', release ALASKA - 1072009, S/N NXA82EV0EBB0760 by American Megatrends Inc.
|
||||
PS> ./check-bios.ps1
|
||||
✅ BIOS model F6 version ALASKA - 1072009 by American Megatrends Inc.
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -48,24 +48,26 @@ Script Content
|
||||
|
||||
try {
|
||||
if ($IsLinux) {
|
||||
Write-Progress "⏳ Querying BIOS..."
|
||||
Write-Progress "⏳ Querying BIOS details..."
|
||||
$Model = (sudo dmidecode -s system-product-name)
|
||||
if ("$Model" -ne "") {
|
||||
$Manufacturer = (sudo dmidecode -s system-manufacturer)
|
||||
$Version = (sudo dmidecode -s bios-version)
|
||||
$RelDate = (sudo dmidecode -s bios-release-date)
|
||||
Write-Host "✅ BIOS $Model by $Manufacturer ($Version release of $RelDate)"
|
||||
$Manufacturer = (sudo dmidecode -s system-manufacturer)
|
||||
Write-Host "✅ BIOS model $Model version $Version of $RelDate by $Manufacturer"
|
||||
}
|
||||
Write-Progress -completed "."
|
||||
} else {
|
||||
# Write-Progress "⏳ Querying BIOS..."
|
||||
$BIOS = Get-CimInstance -ClassName Win32_BIOS
|
||||
$Model = $BIOS.Name.Trim()
|
||||
$Manufacturer = $BIOS.Manufacturer.Trim()
|
||||
$Serial = $BIOS.SerialNumber.Trim()
|
||||
$Version = $BIOS.Version.Trim()
|
||||
# Write-Progress -completed "."
|
||||
Write-Host "✅ BIOS '$Model', release $Version, S/N $Serial by $Manufacturer"
|
||||
$Serial = $BIOS.SerialNumber.Trim()
|
||||
$Manufacturer = $BIOS.Manufacturer.Trim()
|
||||
if ($Serial -eq "To be filled by O.E.M.") {
|
||||
Write-Host "✅ BIOS model $Model version $Version by $Manufacturer"
|
||||
} else {
|
||||
Write-Host "✅ BIOS model $Model version $Version, S/N $Serial, by $Manufacturer"
|
||||
}
|
||||
}
|
||||
exit 0 # success
|
||||
} catch {
|
||||
@ -74,4 +76,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-bios.ps1 as of 08/06/2023 11:42:25)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-bios.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -23,7 +23,7 @@ Script Content
|
||||
.DESCRIPTION
|
||||
This PowerShell script queries the CPU status and prints it (name, type, speed, temperature, etc).
|
||||
.EXAMPLE
|
||||
PS> ./check-cpu
|
||||
PS> ./check-cpu.ps1
|
||||
✅ AMD Ryzen 5 5500U with Radeon Graphics (CPU0, 2100MHz, 31.3°C)
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
@ -103,4 +103,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-cpu.ps1 as of 08/06/2023 11:42:25)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-cpu.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -57,4 +57,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-day.ps1 as of 08/06/2023 11:42:25)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-day.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -16,7 +16,7 @@ PS> ./check-dns.ps1 [<CommonParameters>]
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-dns
|
||||
PS> ./check-dns.ps1
|
||||
✅ DNS resolves 156.5 domains per second
|
||||
|
||||
```
|
||||
@ -38,7 +38,7 @@ Script Content
|
||||
.DESCRIPTION
|
||||
This PowerShell script measures and prints the DNS resolution speed by using 200 popular domains.
|
||||
.EXAMPLE
|
||||
PS> ./check-dns
|
||||
PS> ./check-dns.ps1
|
||||
✅ DNS resolves 156.5 domains per second
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
@ -72,4 +72,4 @@ foreach($row in $table){$nop=Resolve-DNSName $row.Domain}
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-dns.ps1 as of 08/06/2023 11:42:25)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-dns.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -91,4 +91,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-drive-space.ps1 as of 08/06/2023 11:42:25)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-drive-space.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -25,8 +25,8 @@ PS> ./check-drives.ps1 [[-MinLevel] <Int32>] [<CommonParameters>]
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-drives
|
||||
✅ Drive C: uses 87GB of 249GB
|
||||
PS> ./check-drives.ps1
|
||||
✅ Drive C: with 250GB at 10%, 225GB free
|
||||
|
||||
```
|
||||
|
||||
@ -49,8 +49,8 @@ Script Content
|
||||
.PARAMETER MinLevel
|
||||
Specifies the minimum warning level (10 GB by default)
|
||||
.EXAMPLE
|
||||
PS> ./check-drives
|
||||
✅ Drive C: uses 87GB of 249GB
|
||||
PS> ./check-drives.ps1
|
||||
✅ Drive C: with 250GB at 10%, 225GB free
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -91,10 +91,14 @@ try {
|
||||
} elseif ($Free -eq 0) {
|
||||
Write-Host "⚠️ Drive $ID with $(Bytes2String $Total) is 100% full"
|
||||
} elseif ($Free -lt $MinLevel) {
|
||||
Write-Host "⚠️ Drive $ID with $(Bytes2String $Total) is nearly full ($(Bytes2String $Free) free)"
|
||||
Write-Host "⚠️ Drive $ID with $(Bytes2String $Total) is nearly full, $(Bytes2String $Free) free"
|
||||
} else {
|
||||
[int]$Percent = ($Used * 100) / $Total
|
||||
Write-Host "✅ Drive $ID $Percent% full, $(Bytes2String $Free) of $(Bytes2String $Total) free"
|
||||
if ($Percent -gt 90) {
|
||||
Write-Host "✅ Drive $ID with $(Bytes2String $Total) is $Percent% full, $(Bytes2String $Free) free"
|
||||
} else {
|
||||
Write-Host "✅ Drive $ID with $(Bytes2String $Total) at $Percent%, $(Bytes2String $Free) free"
|
||||
}
|
||||
}
|
||||
}
|
||||
exit 0 # success
|
||||
@ -104,4 +108,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-drives.ps1 as of 08/06/2023 11:42:25)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-drives.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -23,7 +23,8 @@ Script Content
|
||||
.DESCRIPTION
|
||||
This PowerShell script queries the time of dusk and answers by text-to-speech (TTS).
|
||||
.EXAMPLE
|
||||
PS> ./check-dusk
|
||||
PS> ./check-dusk.ps1
|
||||
Dusk is in 2 hours at 8 PM.
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -54,7 +55,7 @@ try {
|
||||
$TimeSpan = TimeSpanToString($Now - $Dusk)
|
||||
$Reply = "Dusk was $TimeSpan ago at $($Dusk.ToShortTimeString())."
|
||||
}
|
||||
& "$PSScriptRoot/speak-english.ps1" "$Reply"
|
||||
Write-Output $Reply
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
@ -62,4 +63,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-dusk.ps1 as of 08/06/2023 11:42:25)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-dusk.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -61,4 +61,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-easter-sunday.ps1 as of 08/06/2023 11:42:25)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-easter-sunday.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -75,4 +75,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-file-system.ps1 as of 08/06/2023 11:42:25)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-file-system.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -170,4 +170,4 @@ function Check-Header { param( $path )
|
||||
Check-Header $Path
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-file.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-file.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -16,7 +16,7 @@ PS> ./check-firewall.ps1 [<CommonParameters>]
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-firewall
|
||||
PS> ./check-firewall.ps1
|
||||
✅ Firewall enabled
|
||||
|
||||
```
|
||||
@ -38,7 +38,7 @@ Script Content
|
||||
.DESCRIPTION
|
||||
This PowerShell script queries the status of the firewall and prints it.
|
||||
.EXAMPLE
|
||||
PS> ./check-firewall
|
||||
PS> ./check-firewall.ps1
|
||||
✅ Firewall enabled
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
@ -65,4 +65,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-firewall.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-firewall.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -23,7 +23,7 @@ Script Content
|
||||
.DESCRIPTION
|
||||
This PowerShell script queries the GPU status and prints it.
|
||||
.EXAMPLE
|
||||
PS> ./check-gpu
|
||||
PS> ./check-gpu.ps1
|
||||
✅ NVIDIA Quadro P400 GPU (2GB RAM, 3840x2160 pixels, 32 bit, 59 Hz, driver 31.0.15.1740, status OK)
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
@ -65,4 +65,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-gpu.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-gpu.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -63,4 +63,4 @@ Script Content
|
||||
exit 0 # success
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-hardware.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-hardware.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -58,4 +58,4 @@ Script Content
|
||||
exit 0 # success
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-health.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-health.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -16,7 +16,7 @@ PS> ./check-independence-day.ps1 [<CommonParameters>]
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-independence-day
|
||||
PS> ./check-independence-day.ps1
|
||||
|
||||
```
|
||||
|
||||
@ -37,7 +37,7 @@ Script Content
|
||||
.DESCRIPTION
|
||||
This PowerShell script checks the time until Indepence Day and replies by text-to-speech (TTS).
|
||||
.EXAMPLE
|
||||
PS> ./check-independence-day
|
||||
PS> ./check-independence-day.ps1
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -61,4 +61,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-independence-day.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-independence-day.ps1 as of 08/06/2023 21:36:05)*
|
||||
|
@ -64,4 +64,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-ip.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-ip.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -84,4 +84,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-ipv4-address.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-ipv4-address.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -98,4 +98,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-ipv6-address.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-ipv6-address.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -55,4 +55,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-iss-position.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-iss-position.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -87,4 +87,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-mac-address.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-mac-address.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -60,4 +60,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-midnight.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-midnight.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -57,4 +57,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-month.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-month.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -76,4 +76,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-moon-phase.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-moon-phase.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -64,4 +64,4 @@ Script Content
|
||||
exit 0 # success
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-network.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-network.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -60,4 +60,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-new-year.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-new-year.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -59,4 +59,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-noon.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-noon.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -16,7 +16,7 @@ PS> ./check-os.ps1 [<CommonParameters>]
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-os
|
||||
PS> ./check-os.ps1
|
||||
✅ Windows 10 Pro 64-bit (v10.0.19045, since 6/22/2021, S/N 00123-45678-15135-AAOEM, P/K AB123-CD456-EF789-GH000-WFR6P)
|
||||
|
||||
```
|
||||
@ -38,7 +38,7 @@ Script Content
|
||||
.DESCRIPTION
|
||||
This PowerShell script queries the operating system status and prints it.
|
||||
.EXAMPLE
|
||||
PS> ./check-os
|
||||
PS> ./check-os.ps1
|
||||
✅ Windows 10 Pro 64-bit (v10.0.19045, since 6/22/2021, S/N 00123-45678-15135-AAOEM, P/K AB123-CD456-EF789-GH000-WFR6P)
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
@ -73,4 +73,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-os.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-os.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -16,7 +16,8 @@ PS> ./check-outlook.ps1 [<CommonParameters>]
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-outlook
|
||||
PS> ./check-outlook.ps1
|
||||
✅ No new mails.
|
||||
|
||||
```
|
||||
|
||||
@ -37,7 +38,8 @@ Script Content
|
||||
.DESCRIPTION
|
||||
This PowerShell script checks the inbox of Outlook for new/unread mails.
|
||||
.EXAMPLE
|
||||
PS> ./check-outlook
|
||||
PS> ./check-outlook.ps1
|
||||
✅ No new mails.
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -63,4 +65,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-outlook.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-outlook.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -25,7 +25,7 @@ Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-password qwerty
|
||||
⚠️ Bad password, it's already listed in 10584568 known security breaches!
|
||||
⚠️ Bad password, it's already listed in 10584568 known security breaches!
|
||||
|
||||
```
|
||||
|
||||
@ -47,7 +47,7 @@ Script Content
|
||||
This PowerShell script checks the security status of the given password by haveibeenpwned.com
|
||||
.EXAMPLE
|
||||
PS> ./check-password qwerty
|
||||
⚠️ Bad password, it's already listed in 10584568 known security breaches!
|
||||
⚠️ Bad password, it's already listed in 10584568 known security breaches!
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -83,7 +83,7 @@ try {
|
||||
if ($password -eq "") { $password = Read-Host "Enter the password" }
|
||||
$NumBreaches = Get-PasswordPwnCount $password
|
||||
if ($NumBreaches -eq 0) {
|
||||
"👍 Password seems good, it's not listed in any known security breach (as of today)"
|
||||
"👍 Password seems good, it's not listed in any known security breach as of today."
|
||||
} else {
|
||||
"⚠️ Bad password, it's listed already in $NumBreaches known security breaches!"
|
||||
}
|
||||
@ -94,4 +94,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-password.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-password.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -24,6 +24,7 @@ Script Content
|
||||
This PowerShell script queries pending operating system reboots and prints it.
|
||||
.EXAMPLE
|
||||
./check-pending-reboot.ps1
|
||||
✅ No pending reboot
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -91,4 +92,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-pending-reboot.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-pending-reboot.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -25,7 +25,7 @@ PS> ./check-ping.ps1 [[-hosts] <String>] [<CommonParameters>]
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-ping
|
||||
PS> ./check-ping.ps1
|
||||
✅ Ping latency is 29ms average (13ms...109ms, 0 loss)
|
||||
|
||||
```
|
||||
@ -49,7 +49,7 @@ Script Content
|
||||
.PARAMETER hosts
|
||||
Specifies the hosts to check, seperated by commata (default is: amazon.com,bing.com,cnn.com,dropbox.com,facebook.com,github.com,google.com,live.com,twitter.com,youtube.com)
|
||||
.EXAMPLE
|
||||
PS> ./check-ping
|
||||
PS> ./check-ping.ps1
|
||||
✅ Ping latency is 29ms average (13ms...109ms, 0 loss)
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
@ -88,4 +88,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-ping.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-ping.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -16,7 +16,7 @@ PS> ./check-powershell.ps1 [<CommonParameters>]
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-powershell
|
||||
PS> ./check-powershell.ps1
|
||||
✅ PowerShell Desktop edition 5.1.19041.2673 (10 modules, 1458 cmdlets, 172 aliases)
|
||||
|
||||
```
|
||||
@ -38,7 +38,7 @@ Script Content
|
||||
.DESCRIPTION
|
||||
This PowerShell script queries the PowerShell status and prints it.
|
||||
.EXAMPLE
|
||||
PS> ./check-powershell
|
||||
PS> ./check-powershell.ps1
|
||||
✅ PowerShell Desktop edition 5.1.19041.2673 (10 modules, 1458 cmdlets, 172 aliases)
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
@ -64,4 +64,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-powershell.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-powershell.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -76,4 +76,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-ps1-file.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-ps1-file.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -23,7 +23,7 @@ Script Content
|
||||
.DESCRIPTION
|
||||
This PowerShell script queries the status of the installed RAM and prints it.
|
||||
.EXAMPLE
|
||||
PS> ./check-ram
|
||||
PS> ./check-ram.ps1
|
||||
✅ 16GB DDR4 RAM @ 3200MHz (1.2V) in P0 CHANNEL A/DIMM 0 by Samsung
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
@ -98,4 +98,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-ram.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-ram.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -128,4 +128,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-repo.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-repo.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -56,4 +56,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-santa.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-santa.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -23,7 +23,7 @@ Script Content
|
||||
.DESCRIPTION
|
||||
This PowerShell script queries the status of the SSD/HDD devices (supporting S.M.A.R.T.) and prints it.
|
||||
.EXAMPLE
|
||||
PS> ./check-smart-devices
|
||||
PS> ./check-smart-devices.ps1
|
||||
✅ 1TB Samsung SSD 970 EVO via NVMe (2388 hours, 289x on, v2B2QEXE7, 37°C, selftest passed)
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
@ -95,4 +95,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-smart-devices.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-smart-devices.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -67,4 +67,4 @@ Script Content
|
||||
exit 0 # success
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-software.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-software.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -25,7 +25,7 @@ PS> ./check-subnet-mask.ps1 [[-address] <String>] [<CommonParameters>]
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-subnet-mask 255.255.255.0
|
||||
PS> ./check-subnet-mask.ps1 255.255.255.0
|
||||
✔️ subnet mask 255.255.255.0 is valid
|
||||
|
||||
```
|
||||
@ -49,7 +49,7 @@ Script Content
|
||||
.PARAMETER address
|
||||
Specifies the subnet mask to check
|
||||
.EXAMPLE
|
||||
PS> ./check-subnet-mask 255.255.255.0
|
||||
PS> ./check-subnet-mask.ps1 255.255.255.0
|
||||
✔️ subnet mask 255.255.255.0 is valid
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
@ -84,4 +84,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-subnet-mask.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-subnet-mask.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -26,7 +26,7 @@ Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-swap-space.ps1
|
||||
✅ Swap space 10% full, 901MB of 1TB free
|
||||
✅ Swap space with 1GB at 42%, 748MB free
|
||||
|
||||
```
|
||||
|
||||
@ -50,7 +50,7 @@ Script Content
|
||||
Specifies the minimum level (10 GB by default)
|
||||
.EXAMPLE
|
||||
PS> ./check-swap-space.ps1
|
||||
✅ Swap space 10% full, 901MB of 1TB free
|
||||
✅ Swap space with 1GB at 42%, 748MB free
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -89,14 +89,18 @@ try {
|
||||
if ($Total -eq 0) {
|
||||
Write-Output "⚠️ No swap space configured"
|
||||
} elseif ($Free -eq 0) {
|
||||
Write-Output "⚠️ Swap space of $(MB2String $Total) is full"
|
||||
Write-Output "⚠️ Swap space with $(MB2String $Total) is full"
|
||||
} elseif ($Free -lt $MinLevel) {
|
||||
Write-Output "⚠️ Swap space of $(MB2String $Total) is nearly full ($(MB2String $Free) free)"
|
||||
Write-Output "⚠️ Swap space with $(MB2String $Total) is nearly full, only $(MB2String $Free) free"
|
||||
} elseif ($Used -eq 0) {
|
||||
Write-Output "✅ Swap space with $(MB2String $Total) reserved"
|
||||
} else {
|
||||
[int]$Percent = ($Used * 100) / $Total
|
||||
Write-Output "✅ Swap space $Percent% full, $(MB2String $Free) of $(MB2String $Total) free"
|
||||
if ($Percent -ge 90) {
|
||||
Write-Output "✅ Swap space with $(MB2String $Total) is $Percent% full, $(MB2String $Free) free"
|
||||
} else {
|
||||
Write-Output "✅ Swap space with $(MB2String $Total) at $Percent%, $(MB2String $Free) free"
|
||||
}
|
||||
}
|
||||
exit 0 # success
|
||||
} catch {
|
||||
@ -105,4 +109,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-swap-space.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-swap-space.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -27,6 +27,8 @@ Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-symlinks C:\Users
|
||||
⏳ Checking symlinks at 📂C:\Users including subfolders...
|
||||
✔️ Found 0 broken symlinks at 📂C:\Users in 60 sec
|
||||
|
||||
```
|
||||
|
||||
@ -51,6 +53,8 @@ Script Content
|
||||
Specifies the path to the folder
|
||||
.EXAMPLE
|
||||
PS> ./check-symlinks C:\Users
|
||||
⏳ Checking symlinks at 📂C:\Users including subfolders...
|
||||
✔️ Found 0 broken symlinks at 📂C:\Users in 60 sec
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -83,11 +87,11 @@ try {
|
||||
|
||||
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
|
||||
if ($NumTotal -eq 0) {
|
||||
"✔️ found no symlink at 📂$FullPath in $Elapsed sec."
|
||||
"✔️ No symlink found at 📂$FullPath in $Elapsed sec"
|
||||
} elseif ($NumBroken -eq 1) {
|
||||
"✔️ found $NumBroken broken symlink at 📂$FullPath in $Elapsed sec."
|
||||
"✔️ Found $NumBroken broken symlink at 📂$FullPath in $Elapsed sec"
|
||||
} else {
|
||||
"✔️ found $NumBroken broken symlinks at 📂$FullPath in $Elapsed sec."
|
||||
"✔️ Found $NumBroken broken symlinks at 📂$FullPath in $Elapsed sec"
|
||||
}
|
||||
exit $NumBroken
|
||||
} catch {
|
||||
@ -96,4 +100,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-symlinks.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-symlinks.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -16,7 +16,7 @@ PS> ./check-time-zone.ps1 [<CommonParameters>]
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-time-zone
|
||||
PS> ./check-time-zone.ps1
|
||||
✅ 11:13 AM W. Europe Summer Time (UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna (+01:00 DST)
|
||||
|
||||
```
|
||||
@ -38,7 +38,7 @@ Script Content
|
||||
.DESCRIPTION
|
||||
This PowerShell script queries the time zone and prints it.
|
||||
.EXAMPLE
|
||||
PS> ./check-time-zone
|
||||
PS> ./check-time-zone.ps1
|
||||
✅ 11:13 AM W. Europe Summer Time (UTC+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna (+01:00 DST)
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
@ -65,4 +65,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-time-zone.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-time-zone.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -16,7 +16,8 @@ PS> ./check-uptime.ps1 [<CommonParameters>]
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-uptime
|
||||
PS> ./check-uptime.ps1
|
||||
✅ Up for 2 days, 20 hours, 10 minutes
|
||||
|
||||
```
|
||||
|
||||
@ -37,7 +38,8 @@ Script Content
|
||||
.DESCRIPTION
|
||||
This PowerShell script queries the computer's uptime and prints it.
|
||||
.EXAMPLE
|
||||
PS> ./check-uptime
|
||||
PS> ./check-uptime.ps1
|
||||
✅ Up for 2 days, 20 hours, 10 minutes
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -80,4 +82,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-uptime.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-uptime.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -65,4 +65,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-vpn.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-vpn.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -25,7 +25,7 @@ PS> ./check-weather.ps1 [[-location] <String>] [<CommonParameters>]
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-weather
|
||||
PS> ./check-weather.ps1
|
||||
|
||||
```
|
||||
|
||||
@ -48,7 +48,7 @@ Script Content
|
||||
.PARAMETER location
|
||||
Specifies the location to use (determined automatically per default)
|
||||
.EXAMPLE
|
||||
PS> ./check-weather
|
||||
PS> ./check-weather.ps1
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -81,4 +81,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-weather.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-weather.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -16,7 +16,7 @@ PS> ./check-week.ps1 [<CommonParameters>]
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-week
|
||||
PS> ./check-week.ps1
|
||||
|
||||
```
|
||||
|
||||
@ -37,7 +37,7 @@ Script Content
|
||||
.DESCRIPTION
|
||||
This PowerShell script determines and speaks the current week number by text-to-speech (TTS).
|
||||
.EXAMPLE
|
||||
PS> ./check-week
|
||||
PS> ./check-week.ps1
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -54,4 +54,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-week.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-week.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -25,7 +25,7 @@ PS> ./check-wind.ps1 [[-location] <String>] [<CommonParameters>]
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-wind
|
||||
PS> ./check-wind.ps1
|
||||
|
||||
```
|
||||
|
||||
@ -48,7 +48,7 @@ Script Content
|
||||
.PARAMETER location
|
||||
Specifies the location to use (determined automatically per default)
|
||||
.EXAMPLE
|
||||
PS> ./check-wind
|
||||
PS> ./check-wind.ps1
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -72,4 +72,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-wind.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-wind.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -16,7 +16,7 @@ PS> ./check-windows-system-files.ps1 [<CommonParameters>]
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./check-windows-system-files
|
||||
PS> ./check-windows-system-files.ps1
|
||||
✔️ checked Windows system files
|
||||
|
||||
```
|
||||
@ -38,7 +38,7 @@ Script Content
|
||||
.DESCRIPTION
|
||||
This PowerShell script checks the validity of the Windows system files. It requires admin rights.
|
||||
.EXAMPLE
|
||||
PS> ./check-windows-system-files
|
||||
PS> ./check-windows-system-files.ps1
|
||||
✔️ checked Windows system files
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
@ -60,4 +60,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-windows-system-files.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-windows-system-files.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -88,4 +88,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-xml-file.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of check-xml-file.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -26,7 +26,12 @@ PS> ./clean-repo.ps1 [[-RepoDir] <String>] [<CommonParameters>]
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./clean-repo C:\MyRepo
|
||||
PS> ./clean-repo C:\base256unicode
|
||||
⏳ (1/4) Searching for Git executable... git version 2.41.0.windows.3
|
||||
⏳ (2/4) Checking local repository... 📂C:\base256unicode
|
||||
⏳ (3/4) Removing untracked files in repository...
|
||||
⏳ (4/4) Removing untracked files in submodules...
|
||||
✔️ Cleaning the 📂base256unicode repo took 1 sec
|
||||
|
||||
```
|
||||
|
||||
@ -50,7 +55,12 @@ Script Content
|
||||
.PARAMETER RepoDir
|
||||
Specifies the file path to the local Git repository
|
||||
.EXAMPLE
|
||||
PS> ./clean-repo C:\MyRepo
|
||||
PS> ./clean-repo C:\base256unicode
|
||||
⏳ (1/4) Searching for Git executable... git version 2.41.0.windows.3
|
||||
⏳ (2/4) Checking local repository... 📂C:\base256unicode
|
||||
⏳ (3/4) Removing untracked files in repository...
|
||||
⏳ (4/4) Removing untracked files in submodules...
|
||||
✔️ Cleaning the 📂base256unicode repo took 1 sec
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -91,4 +101,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of clean-repo.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of clean-repo.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -92,4 +92,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of clean-repos.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of clean-repos.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -16,7 +16,8 @@ PS> ./clear-dns-cache.ps1 [<CommonParameters>]
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./clear-dns-cache
|
||||
PS> ./clear-dns-cache.ps1
|
||||
✔️ cleared DNS cache in 0 ms
|
||||
|
||||
```
|
||||
|
||||
@ -37,7 +38,8 @@ Script Content
|
||||
.DESCRIPTION
|
||||
This PowerShell script clears the DNS client cache of the local computer.
|
||||
.EXAMPLE
|
||||
PS> ./clear-dns-cache
|
||||
PS> ./clear-dns-cache.ps1
|
||||
✔️ cleared DNS cache in 0 ms
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -50,7 +52,7 @@ try {
|
||||
Clear-DnsClientCache
|
||||
|
||||
[int]$Elapsed = $StopWatch.Elapsed.TotalSeconds
|
||||
"✔️ cleared DNS cache in $Elapsed ms."
|
||||
"✔️ cleared DNS cache in $Elapsed sec"
|
||||
exit 0 # success
|
||||
} catch {
|
||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
||||
@ -58,4 +60,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of clear-dns-cache.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of clear-dns-cache.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -58,4 +58,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of clear-recycle-bin.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of clear-recycle-bin.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -119,4 +119,4 @@ try {
|
||||
}
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of clone-repos.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of clone-repos.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -48,4 +48,4 @@ Stop-Process -name "CalculatorApp"
|
||||
exit 0 # success
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of close-calculator.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of close-calculator.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -48,4 +48,4 @@ Script Content
|
||||
exit 0 # success
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of close-chrome.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of close-chrome.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -48,4 +48,4 @@ Script Content
|
||||
exit 0 # success
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of close-cortana.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of close-cortana.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") {
|
||||
exit 0 # success
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of close-edge.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of close-edge.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -48,4 +48,4 @@ Script Content
|
||||
exit 0 # success
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of close-file-explorer.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of close-file-explorer.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -48,4 +48,4 @@ Script Content
|
||||
exit 0 # success
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of close-firefox.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of close-firefox.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -16,7 +16,7 @@ PS> ./close-git-extensions.ps1 [<CommonParameters>]
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./close-git-extensions
|
||||
PS> ./close-git-extensions.ps1
|
||||
|
||||
```
|
||||
|
||||
@ -37,7 +37,7 @@ Script Content
|
||||
.DESCRIPTION
|
||||
This PowerShell script closes the Git Extensions application gracefully.
|
||||
.EXAMPLE
|
||||
PS> ./close-git-extensions
|
||||
PS> ./close-git-extensions.ps1
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -52,4 +52,4 @@ if ($lastExitCode -ne "0") {
|
||||
exit 0 # success
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of close-git-extensions.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of close-git-extensions.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
@ -16,7 +16,7 @@ PS> ./close-magnifier.ps1 [<CommonParameters>]
|
||||
Example
|
||||
-------
|
||||
```powershell
|
||||
PS> ./close-magnifier
|
||||
PS> ./close-magnifier.ps1
|
||||
|
||||
```
|
||||
|
||||
@ -37,7 +37,7 @@ Script Content
|
||||
.DESCRIPTION
|
||||
This PowerShell script closes the Windows Screen Magnifier application gracefully.
|
||||
.EXAMPLE
|
||||
PS> ./close-magnifier
|
||||
PS> ./close-magnifier.ps1
|
||||
.LINK
|
||||
https://github.com/fleschutz/PowerShell
|
||||
.NOTES
|
||||
@ -48,4 +48,4 @@ tskill magnify
|
||||
exit 0 # success
|
||||
```
|
||||
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of close-magnifier.ps1 as of 08/06/2023 11:42:26)*
|
||||
*(generated by convert-ps2md.ps1 using the comment-based help of close-magnifier.ps1 as of 08/06/2023 21:36:06)*
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user