From d8690419ea8cd6e2e6ff58a46b8cdf9bf7b27da9 Mon Sep 17 00:00:00 2001 From: Markus Fleschutz Date: Sun, 22 Jun 2025 10:38:33 +0200 Subject: [PATCH] Updated the manuals --- docs/add-firewall-rules.md | 2 +- docs/alert.md | 2 +- docs/build-repo.md | 25 ++-- docs/build-repos.md | 2 +- docs/cd-autostart.md | 2 +- docs/cd-crashdumps.md | 16 +-- docs/cd-desktop.md | 18 +-- docs/cd-docs.md | 22 ++-- docs/cd-downloads.md | 16 +-- docs/cd-dropbox.md | 10 +- docs/cd-etc.md | 10 +- docs/cd-fonts.md | 21 ++-- docs/cd-home.md | 10 +- docs/cd-jenkins.md | 2 +- docs/cd-logs.md | 2 +- docs/cd-music.md | 23 ++-- docs/cd-nextcloud.md | 14 +-- docs/cd-onedrive.md | 24 ++-- docs/cd-pics.md | 27 ++-- docs/cd-public.md | 27 ++-- docs/cd-recent.md | 2 +- docs/cd-recycle-bin.md | 2 +- docs/cd-repo.md | 2 +- docs/cd-repos.md | 14 +-- docs/cd-root.md | 18 +-- docs/cd-screenshots.md | 16 +-- docs/cd-scripts.md | 12 +- docs/cd-ssh.md | 16 +-- docs/cd-sync.md | 65 ++++++++++ docs/cd-temp.md | 2 +- docs/cd-templates.md | 27 ++-- docs/cd-trash.md | 2 +- docs/cd-up.md | 2 +- docs/cd-up2.md | 2 +- docs/cd-up3.md | 2 +- docs/cd-up4.md | 2 +- docs/cd-users.md | 21 ++-- docs/cd-videos.md | 2 +- docs/cd-windows.md | 8 +- docs/change-wallpaper.md | 2 +- docs/check-admin.md | 2 +- docs/check-apps.md | 2 +- docs/check-bios.md | 2 +- docs/check-cpu.md | 2 +- docs/check-credentials.md | 2 +- docs/check-day.md | 2 +- docs/check-dns.md | 2 +- docs/check-drive-space.md | 8 +- docs/check-drives.md | 2 +- docs/check-dusk.md | 2 +- docs/check-easter-sunday.md | 2 +- docs/check-file-system.md | 2 +- docs/check-file.md | 2 +- docs/check-firewall.md | 2 +- docs/check-gpu.md | 2 +- docs/check-hardware.md | 2 +- docs/check-health.md | 2 +- docs/check-independence-day.md | 2 +- docs/check-ipv4-address.md | 2 +- docs/check-ipv6-address.md | 2 +- docs/check-iss-position.md | 2 +- docs/check-mac-address.md | 2 +- docs/check-midnight.md | 2 +- docs/check-month.md | 2 +- docs/check-moon-phase.md | 2 +- docs/check-motherboard.md | 2 +- docs/check-network.md | 2 +- docs/check-noon.md | 2 +- docs/check-os.md | 2 +- docs/check-outlook.md | 2 +- docs/check-password.md | 2 +- docs/check-pending-reboot.md | 2 +- docs/check-pnp-devices.md | 2 +- docs/check-power.md | 2 +- docs/check-powershell.md | 2 +- docs/check-ps1-file.md | 2 +- docs/check-ram.md | 2 +- docs/check-repo.md | 2 +- docs/check-repos.md | 2 +- docs/check-santa.md | 2 +- docs/check-smart-devices.md | 2 +- docs/check-software.md | 2 +- docs/check-subnet-mask.md | 2 +- docs/check-swap-space.md | 4 +- docs/check-symlinks.md | 2 +- docs/check-time-zone.md | 2 +- docs/check-uptime.md | 2 +- docs/check-vpn.md | 2 +- docs/check-weather.md | 2 +- docs/check-week.md | 2 +- docs/check-wind.md | 2 +- docs/check-windows-system-files.md | 2 +- docs/check-xml-file.md | 2 +- docs/check-xml-files.md | 17 +-- docs/clean-repo.md | 2 +- docs/clean-repos.md | 2 +- docs/clear-dns-cache.md | 2 +- docs/clear-recycle-bin.md | 2 +- docs/clone-repos.md | 2 +- docs/clone-shallow.md | 2 +- docs/close-calculator.md | 2 +- docs/close-chrome.md | 2 +- docs/close-cortana.md | 2 +- docs/close-edge.md | 2 +- docs/close-file-explorer.md | 2 +- docs/close-firefox.md | 2 +- docs/close-git-extensions.md | 2 +- docs/close-magnifier.md | 2 +- docs/close-microsoft-paint.md | 2 +- docs/close-microsoft-store.md | 2 +- docs/close-netflix.md | 2 +- docs/close-notepad.md | 2 +- docs/close-obs-studio.md | 2 +- docs/close-one-calendar.md | 2 +- docs/close-outlook.md | 2 +- docs/close-paint-three-d.md | 2 +- docs/close-program.md | 2 +- docs/close-serenade.md | 2 +- docs/close-snipping-tool.md | 2 +- docs/close-spotify.md | 2 +- docs/close-task-manager.md | 2 +- docs/close-three-d-viewer.md | 2 +- docs/close-thunderbird.md | 2 +- docs/close-visual-studio.md | 2 +- docs/close-vlc.md | 2 +- docs/close-windows-terminal.md | 2 +- docs/configure-git.md | 2 +- docs/connect-vpn.md | 2 +- docs/convert-csv2txt.md | 2 +- docs/convert-dir27z.md | 2 +- docs/convert-dir2zip.md | 2 +- docs/convert-docx2md.md | 2 +- docs/convert-frames2mp4.md | 2 +- docs/convert-history2ps1.md | 2 +- docs/convert-image2ascii.md | 2 +- docs/convert-image2blurred-frames.md | 2 +- docs/convert-image2pixelated-frames.md | 2 +- docs/convert-images2webp.md | 2 +- docs/convert-md2docx.md | 2 +- docs/convert-md2html.md | 2 +- docs/convert-md2pdf.md | 2 +- docs/convert-mysql2csv.md | 2 +- docs/convert-ps2bat.md | 2 +- docs/convert-ps2md.md | 2 +- docs/convert-sql2csv.md | 2 +- docs/convert-txt2wav.md | 2 +- docs/copy-photos-sorted.md | 24 ++-- docs/copy-videos-sorted.md | 139 +++++++++++++++++++++ docs/count-characters.md | 2 +- docs/count-lines.md | 2 +- docs/decrypt-file.md | 2 +- docs/disable-ipv6.md | 2 +- docs/disconnect-vpn.md | 2 +- docs/download-dir.md | 2 +- docs/download-file.md | 2 +- docs/edit.md | 2 +- docs/enable-crash-dumps.md | 2 +- docs/enable-god-mode.md | 2 +- docs/enable-ipv6.md | 2 +- docs/encrypt-file.md | 2 +- docs/enter-chat.md | 2 +- docs/enter-host.md | 2 +- docs/export-to-manuals.md | 2 +- docs/fetch-repo.md | 2 +- docs/fetch-repos.md | 2 +- docs/firefox-installer.md | 2 +- docs/get-md5.md | 2 +- docs/get-sha1.md | 2 +- docs/get-sha256.md | 2 +- docs/get-sha512.md | 2 +- docs/hello-world.md | 2 +- docs/hibernate.md | 2 +- docs/import-vm.md | 2 +- docs/inspect-exe.md | 2 +- docs/install-audacity.md | 2 +- docs/install-basic-apps.md | 2 +- docs/install-basic-snaps.md | 2 +- docs/install-calibre-server.md | 2 +- docs/install-chocolatey.md | 2 +- docs/install-chrome.md | 2 +- docs/install-crystal-disk-info.md | 12 +- docs/install-crystal-disk-mark.md | 2 +- docs/install-discord.md | 2 +- docs/install-edge.md | 2 +- docs/install-evcc.md | 2 +- docs/install-firefox.md | 2 +- docs/install-fonts.md | 2 +- docs/install-git-extensions.md | 2 +- docs/install-git-for-windows.md | 2 +- docs/install-github-cli.md | 2 +- docs/install-gitlab.md | 2 +- docs/install-h2static.md | 2 +- docs/install-irfanview.md | 2 +- docs/install-jenkins-agent.md | 27 ++-- docs/install-knot-resolver.md | 2 +- docs/install-microsoft-teams.md | 2 +- docs/install-mini-dlna.md | 2 +- docs/install-netflix.md | 2 +- docs/install-obs-studio.md | 2 +- docs/install-octoprint.md | 2 +- docs/install-one-calendar.md | 2 +- docs/install-opera-browser.md | 2 +- docs/install-opera-gx.md | 2 +- docs/install-paint-3d.md | 2 +- docs/install-power-toys.md | 2 +- docs/install-powershell.md | 2 +- docs/install-rufus.md | 2 +- docs/install-salesforce-cli.md | 2 +- docs/install-scoop.md | 2 +- docs/install-signal-cli.md | 2 +- docs/install-skype.md | 2 +- docs/install-spotify.md | 2 +- docs/install-ssh-client.md | 2 +- docs/install-ssh-server.md | 2 +- docs/install-syncthing.md | 79 ++++++++++++ docs/install-thunderbird.md | 2 +- docs/install-twitter.md | 2 +- docs/install-unbound-server.md | 2 +- docs/install-updates.md | 25 ++-- docs/install-visual-studio-code.md | 2 +- docs/install-vivaldi.md | 2 +- docs/install-vlc.md | 2 +- docs/install-windows-terminal.md | 2 +- docs/install-wsl.md | 2 +- docs/install-zoom.md | 2 +- docs/introduce-powershell.md | 2 +- docs/kill-process.md | 57 +++++++++ docs/list-aliases.md | 2 +- docs/list-anagrams.md | 2 +- docs/list-apps.md | 2 +- docs/list-ascii-table.md | 2 +- docs/list-automatic-variables.md | 2 +- docs/list-battery-status.md | 2 +- docs/list-bios.md | 2 +- docs/list-bluetooth-devices.md | 2 +- docs/list-branches.md | 2 +- docs/list-calendar.md | 2 +- docs/list-cheat-sheet.md | 2 +- docs/list-city-weather.md | 2 +- docs/list-cli-tools.md | 5 +- docs/list-clipboard.md | 2 +- docs/list-cmdlets.md | 2 +- docs/list-coffee-prices.md | 2 +- docs/list-commit-stats.md | 2 +- docs/list-commits.md | 2 +- docs/list-console-colors.md | 2 +- docs/list-countries.md | 2 +- docs/list-cpu.md | 2 +- docs/list-crypto-rates.md | 2 +- docs/list-defender-settings.md | 2 +- docs/list-dir-tree.md | 2 +- docs/list-dns-servers.md | 2 +- docs/list-drives.md | 18 +-- docs/list-earthquakes.md | 2 +- docs/list-emojis.md | 2 +- docs/list-empty-dirs.md | 12 +- docs/list-empty-files.md | 2 +- docs/list-encrypted-files.md | 2 +- docs/list-environment-variables.md | 2 +- docs/list-error-types.md | 2 +- docs/list-exchange-rates.md | 2 +- docs/list-executables.md | 2 +- docs/list-fibonacci.md | 2 +- docs/list-files.md | 2 +- docs/list-folder.md | 2 +- docs/list-fritzbox-calls.md | 2 +- docs/list-fritzbox-devices.md | 2 +- docs/list-headlines.md | 2 +- docs/list-hidden-files.md | 2 +- docs/list-installed-hotfixes.md | 2 +- docs/list-installed-languages.md | 2 +- docs/list-installed-scripts.md | 2 +- docs/list-installed-software.md | 2 +- docs/list-internet-ip.md | 2 +- docs/list-ipv6.md | 2 +- docs/list-latest-tag.md | 2 +- docs/list-latest-tags.md | 2 +- docs/list-local-ip.md | 2 +- docs/list-mDNS.md | 2 +- docs/list-memos.md | 2 +- docs/list-mysql-tables.md | 2 +- docs/list-network-connections.md | 2 +- docs/list-network-neighbors.md | 2 +- docs/list-network-routes.md | 2 +- docs/list-network-shares.md | 2 +- docs/list-news.md | 2 +- docs/list-nic.md | 2 +- docs/list-nina-warnings.md | 2 +- docs/list-old-branches.md | 2 +- docs/list-os-releases.md | 2 +- docs/list-os-updates.md | 2 +- docs/list-os.md | 2 +- docs/list-outlook-inbox.md | 2 +- docs/list-outlook-sent.md | 2 +- docs/list-passwords.md | 2 +- docs/list-pins.md | 2 +- docs/list-power-schemes.md | 2 +- docs/list-powershell-modules.md | 2 +- docs/list-powershell-profiles.md | 2 +- docs/list-powershell-verbs.md | 2 +- docs/list-print-jobs.md | 2 +- docs/list-printers.md | 2 +- docs/list-processes.md | 2 +- docs/list-pull-requests.md | 2 +- docs/list-ram.md | 2 +- docs/list-read-only-files.md | 10 +- docs/list-recycle-bin.md | 2 +- docs/list-repos.md | 2 +- docs/list-scripts.md | 2 +- docs/list-scsi-devices.md | 2 +- docs/list-services.md | 2 +- docs/list-special-folders.md | 2 +- docs/list-sql-tables.md | 2 +- docs/list-ssh-key.md | 2 +- docs/list-submodules.md | 2 +- docs/list-suggestions.md | 2 +- docs/list-system-devices.md | 2 +- docs/list-system-files.md | 8 +- docs/list-system-info.md | 2 +- docs/list-tags.md | 2 +- docs/list-tasks.md | 2 +- docs/list-timezone.md | 2 +- docs/list-timezones.md | 2 +- docs/list-tiobe-index.md | 2 +- docs/list-unused-files.md | 2 +- docs/list-updates.md | 2 +- docs/list-usb-devices.md | 2 +- docs/list-user-accounts.md | 2 +- docs/list-user-groups.md | 2 +- docs/list-voices.md | 2 +- docs/list-weather.md | 2 +- docs/list-wifi.md | 2 +- docs/list-window-titles.md | 2 +- docs/list-workdir.md | 2 +- docs/list-wsl-distros.md | 2 +- docs/locate-city.md | 2 +- docs/locate-ipaddress.md | 2 +- docs/locate-my-phone.md | 2 +- docs/locate-zip-code.md | 2 +- docs/lock-desktop.md | 2 +- docs/log-off.md | 2 +- docs/make-install.md | 2 +- docs/measure-BubbleSort.md | 2 +- docs/measure-BucketSort.md | 2 +- docs/measure-CountingSort.md | 2 +- docs/measure-HeapSort.md | 2 +- docs/measure-InsertionSort.md | 2 +- docs/measure-MergeSort.md | 2 +- docs/measure-QuickSort.md | 2 +- docs/measure-SelectionSort.md | 2 +- docs/measure-sorting-algorithms.md | 2 +- docs/merry-christmas.md | 2 +- docs/minimize-all-windows.md | 2 +- docs/move-mouse-pointer.md | 2 +- docs/move-vm.md | 2 +- docs/my-profile.md | 2 +- docs/new-branch.md | 2 +- docs/new-dir.md | 2 +- docs/new-email.md | 2 +- docs/new-junction.md | 2 +- docs/new-linux-vm.md | 2 +- docs/new-markdown-file.md | 30 ++--- docs/new-power-plan.md | 2 +- docs/new-powershell-script.md | 78 ++++++++++++ docs/new-qrcode.md | 2 +- docs/new-reboot-task.md | 2 +- docs/new-shortcut.md | 2 +- docs/new-ssh-key.md | 2 +- docs/new-symlink.md | 2 +- docs/new-tab.md | 2 +- docs/new-tag.md | 2 +- docs/new-text-file.md | 30 ++--- docs/new-user.md | 2 +- docs/new-windows-vm.md | 2 +- docs/on-desktop-login.md | 2 +- docs/open-URL.md | 2 +- docs/open-apps-folder.md | 2 +- docs/open-auto-start-folder.md | 2 +- docs/open-bing-maps.md | 2 +- docs/open-booking-com.md | 2 +- docs/open-c-drive.md | 2 +- docs/open-calculator.md | 2 +- docs/open-chrome.md | 2 +- docs/open-clock.md | 2 +- docs/open-cortana.md | 2 +- docs/open-d-drive.md | 2 +- docs/open-dashboards.md | 2 +- docs/open-deep-l-translator.md | 2 +- docs/open-default-browser.md | 2 +- docs/open-desktop-folder.md | 2 +- docs/open-documents-folder.md | 2 +- docs/open-downloads-folder.md | 2 +- docs/open-dropbox-folder.md | 2 +- docs/open-duck-duck-go.md | 2 +- docs/open-e-drive.md | 2 +- docs/open-edge.md | 2 +- docs/open-egg-timer.md | 2 +- docs/open-email-client.md | 2 +- docs/open-f-drive.md | 2 +- docs/open-file-explorer.md | 2 +- docs/open-fire-place.md | 2 +- docs/open-firefox.md | 2 +- docs/open-flight-radar.md | 2 +- docs/open-g-drive.md | 2 +- docs/open-git-extensions.md | 2 +- docs/open-google-books.md | 2 +- docs/open-google-calendar.md | 2 +- docs/open-google-contacts.md | 2 +- docs/open-google-docs.md | 2 +- docs/open-google-earth.md | 2 +- docs/open-google-mail.md | 2 +- docs/open-google-maps.md | 2 +- docs/open-google-news.md | 2 +- docs/open-google-photos.md | 2 +- docs/open-google-play.md | 2 +- docs/open-google-search.md | 2 +- docs/open-google-stadia.md | 2 +- docs/open-google-translate.md | 2 +- docs/open-home-folder.md | 2 +- docs/open-internet-archive.md | 2 +- docs/open-jitsi-meet.md | 2 +- docs/open-m-drive.md | 2 +- docs/open-magnifier.md | 2 +- docs/open-microsoft-paint.md | 2 +- docs/open-microsoft-solitaire.md | 2 +- docs/open-microsoft-store.md | 2 +- docs/open-microsoft-teams.md | 2 +- docs/open-music-folder.md | 2 +- docs/open-netflix.md | 2 +- docs/open-notepad.md | 2 +- docs/open-obs-studio.md | 2 +- docs/open-office-365.md | 2 +- docs/open-one-drive-folder.md | 2 +- docs/open-outlook.md | 2 +- docs/open-paint-three-d.md | 2 +- docs/open-pictures-folder.md | 2 +- docs/open-rdp.md | 2 +- docs/open-recycle-bin-folder.md | 2 +- docs/open-remote-desktop.md | 2 +- docs/open-repos-folder.md | 2 +- docs/open-screen-clip.md | 2 +- docs/open-screen-sketch.md | 2 +- docs/open-skype.md | 2 +- docs/open-snipping-tool.md | 2 +- docs/open-speed-test.md | 2 +- docs/open-spotify.md | 2 +- docs/open-stack-overflow.md | 2 +- docs/open-start-page.md | 2 +- docs/open-street-map.md | 2 +- docs/open-task-manager.md | 2 +- docs/open-temporary-folder.md | 2 +- docs/open-three-d-viewer.md | 2 +- docs/open-thunderbird.md | 2 +- docs/open-videos-folders.md | 2 +- docs/open-visual-studio.md | 2 +- docs/open-voice-recorder.md | 2 +- docs/open-vpn-settings.md | 2 +- docs/open-windows-defender.md | 2 +- docs/open-windows-terminal.md | 2 +- docs/open-xing.md | 2 +- docs/pick-commit.md | 2 +- docs/ping-host.md | 2 +- docs/ping-internet.md | 2 +- docs/ping-local-devices.md | 2 +- docs/ping-weather.md | 2 +- docs/play-bee-sound.md | 2 +- docs/play-beep-sound.md | 2 +- docs/play-big-ben.md | 2 +- docs/play-cat-sound.md | 2 +- docs/play-chess.md | 2 +- docs/play-cow-sound.md | 2 +- docs/play-dog-sound.md | 2 +- docs/play-donkey-sound.md | 2 +- docs/play-drug-wars.md | 2 +- docs/play-elephant-sound.md | 2 +- docs/play-elk-sound.md | 2 +- docs/play-files.md | 2 +- docs/play-frog-sound.md | 2 +- docs/play-goat-sound.md | 2 +- docs/play-gorilla-sound.md | 2 +- docs/play-happy-birthday.md | 2 +- docs/play-horse-sound.md | 2 +- docs/play-imperial-march.md | 2 +- docs/play-jingle-bells.md | 2 +- docs/play-lion-sound.md | 2 +- docs/play-m3u.md | 2 +- docs/play-mission-impossible.md | 2 +- docs/play-mp3.md | 2 +- docs/play-parrot-sound.md | 2 +- docs/play-pig-sound.md | 2 +- docs/play-pong.md | 2 +- docs/play-rattlesnake-sound.md | 2 +- docs/play-rick.md | 2 +- docs/play-snake.md | 2 +- docs/play-super-mario.md | 2 +- docs/play-system-sounds.md | 2 +- docs/play-tetris-melody.md | 2 +- docs/play-vulture-sound.md | 2 +- docs/play-wolf-sound.md | 2 +- docs/poweroff.md | 2 +- docs/print-image.md | 2 +- docs/publish-to-ipfs.md | 2 +- docs/pull-repo.md | 2 +- docs/pull-repos.md | 12 +- docs/query-smart-data.md | 2 +- docs/reboot-fritzbox.md | 2 +- docs/reboot-into-bios.md | 2 +- docs/reboot.md | 2 +- docs/remember.md | 2 +- docs/remind-me.md | 2 +- docs/remove-dir-tree.md | 2 +- docs/remove-empty-dirs.md | 2 +- docs/remove-old-dirs.md | 2 +- docs/remove-print-jobs.md | 2 +- docs/remove-tag.md | 2 +- docs/remove-user.md | 2 +- docs/remove-vm.md | 2 +- docs/replace-in-files.md | 2 +- docs/restart-network-adapters.md | 2 +- docs/roll-a-dice.md | 2 +- docs/save-credentials.md | 2 +- docs/save-screenshot.md | 2 +- docs/scan-folder.md | 2 +- docs/scan-network.md | 2 +- docs/scan-ports.md | 2 +- docs/search-filename.md | 2 +- docs/search-files.md | 9 +- docs/search-repo.md | 2 +- docs/send-email.md | 2 +- docs/send-tcp.md | 2 +- docs/send-udp.md | 2 +- docs/set-timer.md | 2 +- docs/set-volume.md | 2 +- docs/set-wallpaper.md | 2 +- docs/show-lightnings.md | 2 +- docs/show-notification-motivation-quote.md | 2 +- docs/show-notification.md | 2 +- docs/show-traffic.md | 2 +- docs/simulate-presence.md | 2 +- docs/smart-data2csv.md | 2 +- docs/speak-arabic.md | 2 +- docs/speak-checklist.md | 2 +- docs/speak-countdown.md | 2 +- docs/speak-croatian.md | 2 +- docs/speak-danish.md | 2 +- docs/speak-dutch.md | 2 +- docs/speak-english.md | 2 +- docs/speak-epub.md | 2 +- docs/speak-esperanto.md | 2 +- docs/speak-file.md | 2 +- docs/speak-finnish.md | 2 +- docs/speak-french.md | 2 +- docs/speak-german.md | 2 +- docs/speak-greek.md | 2 +- docs/speak-hebrew.md | 2 +- docs/speak-hindi.md | 2 +- docs/speak-italian.md | 2 +- docs/speak-japanese.md | 2 +- docs/speak-korean.md | 2 +- docs/speak-latin.md | 2 +- docs/speak-mandarin.md | 2 +- docs/speak-norwegian.md | 2 +- docs/speak-polish.md | 2 +- docs/speak-portuguese.md | 2 +- docs/speak-russian.md | 2 +- docs/speak-spanish.md | 2 +- docs/speak-swedish.md | 2 +- docs/speak-test.md | 2 +- docs/speak-text.md | 2 +- docs/speak-thai.md | 2 +- docs/speak-turkish.md | 2 +- docs/speak-ukrainian.md | 2 +- docs/spell-word.md | 2 +- docs/start-ipfs-server.md | 2 +- docs/suspend.md | 2 +- docs/switch-branch.md | 2 +- docs/switch-shelly1.md | 2 +- docs/switch-tabs.md | 2 +- docs/sync-dir.md | 2 +- docs/sync-repo.md | 2 +- docs/tell-joke.md | 2 +- docs/tell-new-year.md | 2 +- docs/tell-quote.md | 2 +- docs/toggle-caps-lock.md | 2 +- docs/toggle-num-lock.md | 2 +- docs/toggle-scroll-lock.md | 2 +- docs/touch.md | 74 +++++++++++ docs/translate-file.md | 2 +- docs/translate-files.md | 2 +- docs/translate-text.md | 2 +- docs/turn-volume-down.md | 2 +- docs/turn-volume-fully-up.md | 2 +- docs/turn-volume-off.md | 2 +- docs/turn-volume-on.md | 2 +- docs/turn-volume-up.md | 2 +- docs/uninstall-all-apps.md | 2 +- docs/uninstall-bloatware.md | 2 +- docs/uninstall-new-outlook.md | 2 +- docs/uninstall-outlook.md | 2 +- docs/update-powershell-profile.md | 2 +- docs/upgrade-ubuntu.md | 2 +- docs/upload-file.md | 2 +- docs/upload-to-dropbox.md | 2 +- docs/wake-up-host.md | 2 +- docs/wake-up-human.md | 2 +- docs/watch-commits.md | 2 +- docs/watch-crypto-rates.md | 2 +- docs/watch-file.md | 2 +- docs/watch-host.md | 2 +- docs/watch-news.md | 2 +- docs/watch-ping.md | 2 +- docs/weather-report.md | 2 +- docs/weather.md | 2 +- docs/what-is.md | 2 +- docs/windefender.md | 2 +- docs/write-animated.md | 2 +- docs/write-ascii-image.md | 2 +- docs/write-big.md | 2 +- docs/write-blue.md | 2 +- docs/write-braille.md | 2 +- docs/write-centered.md | 2 +- docs/write-changelog.md | 2 +- docs/write-chart.md | 2 +- docs/write-clock.md | 2 +- docs/write-code.md | 106 ++++++++++------ docs/write-credits.md | 2 +- docs/write-date.md | 2 +- docs/write-fractal.md | 2 +- docs/write-green.md | 2 +- docs/write-hands-off.md | 2 +- docs/write-headline.md | 2 +- docs/write-help.md | 2 +- docs/write-in-emojis.md | 2 +- docs/write-joke.md | 14 +-- docs/write-location.md | 2 +- docs/write-lowercase.md | 2 +- docs/write-marquee.md | 2 +- docs/write-matrix.md | 2 +- docs/write-moon.md | 2 +- docs/write-morse-code.md | 2 +- docs/write-motd.md | 2 +- docs/write-pi.md | 2 +- docs/write-progress-bar.md | 2 +- docs/write-qr-code.md | 2 +- docs/write-quote.md | 2 +- docs/write-red.md | 2 +- docs/write-rot13.md | 2 +- docs/write-shit.md | 2 +- docs/write-sine-curves.md | 2 +- docs/write-story.md | 2 +- docs/write-time.md | 2 +- docs/write-typewriter.md | 2 +- docs/write-uppercase.md | 2 +- docs/write-value.md | 2 +- docs/write-vertical.md | 2 +- docs/write-xmas-tree.md | 2 +- scripts/cd-sync.ps1 | 0 scripts/copy-videos-sorted.ps1 | 0 scripts/install-syncthing.ps1 | 0 scripts/kill-process.ps1 | 0 scripts/touch.ps1 | 0 661 files changed, 1512 insertions(+), 966 deletions(-) create mode 100644 docs/cd-sync.md create mode 100644 docs/copy-videos-sorted.md create mode 100644 docs/install-syncthing.md create mode 100644 docs/kill-process.md create mode 100644 docs/new-powershell-script.md create mode 100644 docs/touch.md mode change 100644 => 100755 scripts/cd-sync.ps1 mode change 100644 => 100755 scripts/copy-videos-sorted.ps1 mode change 100644 => 100755 scripts/install-syncthing.ps1 mode change 100644 => 100755 scripts/kill-process.ps1 mode change 100644 => 100755 scripts/touch.ps1 diff --git a/docs/add-firewall-rules.md b/docs/add-firewall-rules.md index 4e5d1fcd..756f61f0 100644 --- a/docs/add-firewall-rules.md +++ b/docs/add-firewall-rules.md @@ -116,4 +116,4 @@ try { ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:33)* diff --git a/docs/alert.md b/docs/alert.md index fd71aa85..57f86a0a 100644 --- a/docs/alert.md +++ b/docs/alert.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:33)* diff --git a/docs/build-repo.md b/docs/build-repo.md index 67afb950..48858c9e 100644 --- a/docs/build-repo.md +++ b/docs/build-repo.md @@ -1,7 +1,8 @@ The *build-repo.ps1* Script =========================== -This PowerShell script builds a Git repository by supporting the build systems: autogen, cmake, configure, Gradle, Imakefile, Makefile, and Meson. +This PowerShell script builds a Git repository by supporting the following build +systems: autogen, cargo, cmake, configure, Gradle, Imakefile, Makefile, and Meson. Parameters ---------- @@ -9,7 +10,7 @@ Parameters /Repos/PowerShell/scripts/build-repo.ps1 [[-path] ] [] -path - Specifies the path to the Git repository (current working directory by default) + Specifies the file path to the Git repository (default: current working directory) Required? false Position? 1 @@ -29,7 +30,7 @@ Example PS> ./build-repo.ps1 C:\Repos\ninja ⏳ Building πŸ“‚ninja by using CMake... ... -βœ… Build of πŸ“‚ninja succeeded in 47s, results in: πŸ“‚C:\Repos\ninja\_results +βœ… Build of πŸ“‚ninja succeeded in 47s, results at: πŸ“‚C:\Repos\ninja\_results ``` @@ -48,14 +49,15 @@ Script Content .SYNOPSIS Builds a repo .DESCRIPTION - This PowerShell script builds a Git repository by supporting the build systems: autogen, cmake, configure, Gradle, Imakefile, Makefile, and Meson. + This PowerShell script builds a Git repository by supporting the following build + systems: autogen, cargo, cmake, configure, Gradle, Imakefile, Makefile, and Meson. .PARAMETER path - Specifies the path to the Git repository (current working directory by default) + Specifies the file path to the Git repository (default: current working directory) .EXAMPLE PS> ./build-repo.ps1 C:\Repos\ninja ⏳ Building πŸ“‚ninja by using CMake... ... - βœ… Build of πŸ“‚ninja succeeded in 47s, results in: πŸ“‚C:\Repos\ninja\_results + βœ… Build of πŸ“‚ninja succeeded in 47s, results at: πŸ“‚C:\Repos\ninja\_results .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -85,6 +87,13 @@ function BuildFolder([string]$path) { "⏳ (4/4) Executing 'ctest -V'... (if tests are provided)" & ctest -V if ($lastExitCode -ne 0) { throw "Executing 'ctest -V' failed with exit code $lastExitCode" } + } elseif (Test-Path "$path/.cargo/release.toml" -pathType leaf) { + "⏳ (1/4) Building πŸ“‚$dirName by using Cargo..." + Set-Location "$path/" + + & cargo build --config .cargo/release.toml --release + if ($lastExitCode -ne 0) { throw "Executing 'cargo build' failed with exit code $lastExitCode" } + } elseif (Test-Path "$path/autogen.sh" -pathType leaf) { "⏳ Building πŸ“‚$dirName by executing 'autogen.sh'..." Set-Location "$path/" @@ -193,7 +202,7 @@ try { if ($global:results -eq "") { "βœ… Build of πŸ“‚$repoDirName succeeded in $($elapsed)s." } else { - "βœ… Build of πŸ“‚$repoDirName succeeded in $($elapsed)s, results in: πŸ“‚$($global:results)" + "βœ… Build of πŸ“‚$repoDirName succeeded in $($elapsed)s, results at: πŸ“‚$($global:results)" } exit 0 # success } catch { @@ -203,4 +212,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/build-repos.md b/docs/build-repos.md index de6015ef..646352a8 100644 --- a/docs/build-repos.md +++ b/docs/build-repos.md @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/cd-autostart.md b/docs/cd-autostart.md index 01849994..d88ceafb 100644 --- a/docs/cd-autostart.md +++ b/docs/cd-autostart.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/cd-crashdumps.md b/docs/cd-crashdumps.md index b3092bb0..8d571b6a 100644 --- a/docs/cd-crashdumps.md +++ b/docs/cd-crashdumps.md @@ -16,8 +16,8 @@ Parameters Example ------- ```powershell -PS> ./cd-crashdumps -πŸ“‚C:\Users\Markus\AppData\Local\CrashDumps entered (has 3 files and 0 folders) +PS> ./cd-crashdumps.ps1 +πŸ“‚C:\Users\Markus\AppData\Local\CrashDumps with 3 files entered. ``` @@ -38,8 +38,8 @@ Script Content .DESCRIPTION This PowerShell script changes the working directory to the crash dumps directory (Windows only). Whenever a software crashes and crash dumps are enabled(!) a crash dump file is written. This file helps to identify the reason for the crash. .EXAMPLE - PS> ./cd-crashdumps - πŸ“‚C:\Users\Markus\AppData\Local\CrashDumps entered (has 3 files and 0 folders) + PS> ./cd-crashdumps.ps1 + πŸ“‚C:\Users\Markus\AppData\Local\CrashDumps with 3 files entered. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -54,10 +54,10 @@ try { $path += "\AppData\Local\CrashDumps" if (!(Test-Path "$path" -pathType container)) { throw "No crashdumps folder at $path" } - Set-Location "$Path" + + Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory - $folders = Get-ChildItem $path -attributes Directory - "πŸ“‚$path entered (has $($files.Count) files and $($folders.Count) folders)" + "πŸ“‚$path with $($files.Count) files entered." exit 0 # success } catch { "⚠️ Error: $($Error[0])" @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/cd-desktop.md b/docs/cd-desktop.md index b0f5659d..714acde1 100644 --- a/docs/cd-desktop.md +++ b/docs/cd-desktop.md @@ -16,8 +16,8 @@ Parameters Example ------- ```powershell -PS> ./cd-desktop -πŸ“‚/home/Markus/Desktop +PS> ./cd-desktop.ps1 +πŸ“‚/home/Markus/Desktop with 3 files and 0 folders entered. ``` @@ -38,8 +38,8 @@ Script Content .DESCRIPTION This PowerShell script changes the working directory to the user's desktop folder. .EXAMPLE - PS> ./cd-desktop - πŸ“‚/home/Markus/Desktop + PS> ./cd-desktop.ps1 + πŸ“‚/home/Markus/Desktop with 3 files and 0 folders entered. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -49,17 +49,19 @@ Script Content try { if ($IsLinux -or $IsMacOS) { if (-not(Test-Path "~/Desktop" -pathType container)) { - throw "No πŸ“‚Desktop folder in your home directory yet" + throw "No 'Desktop' folder in your home directory yet" } $path = Resolve-Path "~/Desktop" } else { $path = [Environment]::GetFolderPath('DesktopDirectory') if (-not(Test-Path "$path" -pathType container)) { - throw "No desktop folder at πŸ“‚$path yet" + throw "Desktop folder at $path does not exist yet" } } Set-Location "$path" - "πŸ“‚$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "πŸ“‚$path with $($files.Count) files and $($folders.Count) folders entered." exit 0 # success } catch { "⚠️ Error: $($Error[0])" @@ -67,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/cd-docs.md b/docs/cd-docs.md index 935b9ab5..accddde1 100644 --- a/docs/cd-docs.md +++ b/docs/cd-docs.md @@ -1,7 +1,7 @@ The *cd-docs.ps1* Script =========================== -This PowerShell script changes the working directory to the documents folder. +This PowerShell script sets the current working directory to the documents folder. Parameters ---------- @@ -16,8 +16,8 @@ Parameters Example ------- ```powershell -PS> ./cd-docs -πŸ“‚C:\Users\Markus\Documents entered (has 3 files and 0 folders) +PS> ./cd-docs.ps1 +πŸ“‚C:\Users\Markus\Documents with 3 files and 0 folders entered. ``` @@ -34,12 +34,12 @@ Script Content ```powershell <# .SYNOPSIS - Sets the working directory to the documents folder + Sets the working dir to the documents folder .DESCRIPTION - This PowerShell script changes the working directory to the documents folder. + This PowerShell script sets the current working directory to the documents folder. .EXAMPLE - PS> ./cd-docs - πŸ“‚C:\Users\Markus\Documents entered (has 3 files and 0 folders) + PS> ./cd-docs.ps1 + πŸ“‚C:\Users\Markus\Documents with 3 files and 0 folders entered. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -49,19 +49,19 @@ Script Content try { if ($IsLinux -or $IsMacOS) { if (-not(Test-Path "~/Documents" -pathType container)) { - throw "No πŸ“‚Documents folder in your home directory yet" + throw "No 'Documents' folder in your home directory yet" } $path = Resolve-Path "~/Documents" } else { $path = [Environment]::GetFolderPath('MyDocuments') if (-not(Test-Path "$path" -pathType container)) { - throw "No documents folder at πŸ“‚$path yet" + throw "No documents folder at: $path yet" } } Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory $folders = Get-ChildItem $path -attributes Directory - "πŸ“‚$path entered (has $($files.Count) files and $($folders.Count) folders)" + "πŸ“‚$path with $($files.Count) files and $($folders.Count) folders entered." exit 0 # success } catch { "⚠️ Error: $($Error[0])" @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/cd-downloads.md b/docs/cd-downloads.md index 284ee6aa..143fd9ac 100644 --- a/docs/cd-downloads.md +++ b/docs/cd-downloads.md @@ -16,8 +16,8 @@ Parameters Example ------- ```powershell -PS> ./cd-downloads -πŸ“‚C:\Users\Markus\Downloads entered (has 0 files and 0 folders) +PS> ./cd-downloads.ps1 +πŸ“‚C:\Users\Markus\Downloads with 0 files and 0 folders entered. ``` @@ -38,8 +38,8 @@ Script Content .DESCRIPTION This PowerShell script changes the working directory to the user's downloads folder. .EXAMPLE - PS> ./cd-downloads - πŸ“‚C:\Users\Markus\Downloads entered (has 0 files and 0 folders) + PS> ./cd-downloads.ps1 + πŸ“‚C:\Users\Markus\Downloads with 0 files and 0 folders entered. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -49,19 +49,19 @@ Script Content try { if ($IsLinux -or $IsMacOS) { if (-not(Test-Path "~/Downloads" -pathType container)) { - throw "No πŸ“‚Downloads folder in your home directory yet" + throw "No 'Downloads' folder in your home directory yet" } $path = Resolve-Path "~/Downloads" } else { $path = (New-Object -ComObject Shell.Application).NameSpace('shell:Downloads').Self.Path if (-not(Test-Path "$path" -pathType container)) { - throw "No downloads folder at πŸ“‚$path" + throw "No downloads folder at: $path" } } Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory $folders = Get-ChildItem $path -attributes Directory - "πŸ“‚$path entered (has $($files.Count) files and $($folders.Count) folders)" + "πŸ“‚$path with $($files.Count) files and $($folders.Count) folders entered." exit 0 # success } catch { "⚠️ Error: $($Error[0])" @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/cd-dropbox.md b/docs/cd-dropbox.md index a9ceec2e..9fef7a6a 100644 --- a/docs/cd-dropbox.md +++ b/docs/cd-dropbox.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-dropbox -πŸ“‚C:\Users\Markus\Dropbox (has 2 files and 4 subfolders) +πŸ“‚C:\Users\Markus\Dropbox (has 2 files and 0 folders) ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script changes the working directory to the user's Dropbox folder. .EXAMPLE PS> ./cd-dropbox - πŸ“‚C:\Users\Markus\Dropbox (has 2 files and 4 subfolders) + πŸ“‚C:\Users\Markus\Dropbox (has 2 files and 0 folders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -48,13 +48,13 @@ Script Content try { if (-not(Test-Path "~/Dropbox" -pathType container)) { - throw "No πŸ“‚Dropbox folder in your home directory - is Dropbox installed?" + throw "No 'Dropbox' folder in your home directory - is Dropbox installed?" } $path = Resolve-Path "~/Dropbox" Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory $folders = Get-ChildItem $path -attributes Directory - "πŸ“‚$path entered (has $($files.Count) files and $($folders.Count) subfolders)" + "πŸ“‚$path entered (has $($files.Count) files and $($folders.Count) folders)" exit 0 # success } catch { "⚠️ Error: $($Error[0])" @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/cd-etc.md b/docs/cd-etc.md index e0f3ff82..173ce926 100644 --- a/docs/cd-etc.md +++ b/docs/cd-etc.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-etc -πŸ“‚C:\Windows\System32\drivers\etc (has 2 files and 3 subfolders) +πŸ“‚C:\Windows\System32\drivers\etc (has 5 files and 0 folders) ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script changes the working directory to the /etc directory. .EXAMPLE PS> ./cd-etc - πŸ“‚C:\Windows\System32\drivers\etc (has 2 files and 3 subfolders) + πŸ“‚C:\Windows\System32\drivers\etc (has 5 files and 0 folders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -53,12 +53,12 @@ try { $path = Resolve-Path "$env:WINDIR\System32\drivers\etc" } if (-not(Test-Path "$path" -pathType container)) { - throw "No /etc directory at πŸ“‚$path" + throw "No 'etc' folder found at: $path" } Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory $folders = Get-ChildItem $path -attributes Directory - "πŸ“‚$path entered (has $($files.Count) files and $($folders.Count) subfolders)" + "πŸ“‚$path entered (has $($files.Count) files and $($folders.Count) folders)" exit 0 # success } catch { "⚠️ Error: $($Error[0])" @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/cd-fonts.md b/docs/cd-fonts.md index b9a1314d..a70f9cac 100644 --- a/docs/cd-fonts.md +++ b/docs/cd-fonts.md @@ -1,7 +1,7 @@ The *cd-fonts.ps1* Script =========================== -This PowerShell script changes the working directory to the fonts folder. +This PowerShell script sets the current working directory to the fonts folder. Parameters ---------- @@ -16,8 +16,8 @@ Parameters Example ------- ```powershell -PS> ./cd-fonts -πŸ“‚C:\Windows\Fonts (has 2 file and 3 subfolders) +PS> ./cd-fonts.ps1 +πŸ“‚C:\Windows\Fonts with 12 font files entered. ``` @@ -34,12 +34,12 @@ Script Content ```powershell <# .SYNOPSIS - Sets the working directory to the fonts folder + Sets the working dir to the fonts folder .DESCRIPTION - This PowerShell script changes the working directory to the fonts folder. + This PowerShell script sets the current working directory to the fonts folder. .EXAMPLE - PS> ./cd-fonts - πŸ“‚C:\Windows\Fonts (has 2 file and 3 subfolders) + PS> ./cd-fonts.ps1 + πŸ“‚C:\Windows\Fonts with 12 font files entered. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -49,12 +49,11 @@ Script Content try { $path = [Environment]::GetFolderPath('Fonts') if (-not(Test-Path "$path" -pathType container)) { - throw "No fonts folder at πŸ“‚$path" + throw "No fonts folder at: $path" } Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory - $folders = Get-ChildItem $path -attributes Directory - "πŸ“‚$path entered (has $($files.Count) files and $($folders.Count) subfolders)" + "πŸ“‚$path with $($files.Count) font files entered." exit 0 # success } catch { "⚠️ Error: $($Error[0])" @@ -62,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/cd-home.md b/docs/cd-home.md index 46ca7aef..10834d67 100644 --- a/docs/cd-home.md +++ b/docs/cd-home.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-home.ps1 -πŸ“‚C:\Users\Markus entered (has 4 files and 7 subfolders) +πŸ“‚C:\Users\Markus with 4 files and 7 folders entered. ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script changes the working directory to the user's home directory. .EXAMPLE PS> ./cd-home.ps1 - πŸ“‚C:\Users\Markus entered (has 4 files and 7 subfolders) + πŸ“‚C:\Users\Markus with 4 files and 7 folders entered. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -47,12 +47,12 @@ Script Content #> try { - if (-not(Test-Path "~" -pathType container)) { throw "No home directory at $path" } + if (-not(Test-Path "~" -pathType container)) { throw "No home directory at: $path" } $path = Resolve-Path "~" Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory $folders = Get-ChildItem $path -attributes Directory - "πŸ“‚$path entered (has $($files.Count) files and $($folders.Count) subfolders)" + "πŸ“‚$path with $($files.Count) files and $($folders.Count) folders entered." exit 0 # success } catch { "⚠️ Error: $($Error[0])" @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/cd-jenkins.md b/docs/cd-jenkins.md index 58ca1cc3..07085c0c 100644 --- a/docs/cd-jenkins.md +++ b/docs/cd-jenkins.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/cd-logs.md b/docs/cd-logs.md index bee1b0f2..ebaca55e 100644 --- a/docs/cd-logs.md +++ b/docs/cd-logs.md @@ -50,4 +50,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/cd-music.md b/docs/cd-music.md index f4aca02c..92ec1572 100644 --- a/docs/cd-music.md +++ b/docs/cd-music.md @@ -16,8 +16,8 @@ Parameters Example ------- ```powershell -PS> ./cd-music -πŸ“‚C:\Users\Markus\Music entered (has 0 files and 3 subfolders) +PS> ./cd-music.ps1 +πŸ“‚C:\Users\Markus\Music with 3 folders and 0 files entered. ``` @@ -38,8 +38,8 @@ Script Content .DESCRIPTION This PowerShell script changes the working directory to the user's music folder. .EXAMPLE - PS> ./cd-music - πŸ“‚C:\Users\Markus\Music entered (has 0 files and 3 subfolders) + PS> ./cd-music.ps1 + πŸ“‚C:\Users\Markus\Music with 3 folders and 0 files entered. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -48,17 +48,20 @@ Script Content try { if ($IsLinux) { + if (-not(Test-Path "~/Music/" -pathType container)) { + throw "No 'Music' folder in home directory" + } $path = Resolve-Path "~/Music" } else { $path = [Environment]::GetFolderPath('MyMusic') - } - if (-not(Test-Path "$path" -pathType container)) { - throw "No music folder at πŸ“‚$path" + if (-not(Test-Path "$path" -pathType container)) { + throw "No music folder at: $path" + } } Set-Location "$path" - $files = Get-ChildItem $path -attributes !Directory $folders = Get-ChildItem $path -attributes Directory - "πŸ“‚$path entered (has $($files.Count) files and $($folders.Count) subfolders)" + $files = Get-ChildItem $path -attributes !Directory + "πŸ“‚$path with $($folders.Count) folders and $($files.Count) files entered." exit 0 # success } catch { "⚠️ Error: $($Error[0])" @@ -66,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/cd-nextcloud.md b/docs/cd-nextcloud.md index 4ac91b61..c718465c 100644 --- a/docs/cd-nextcloud.md +++ b/docs/cd-nextcloud.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-nextcloud -πŸ“‚C:\Users\Markus\NextCloud entered (has 2 files and 3 subfolders) +πŸ“‚C:\Users\Markus\NextCloud entered (has 2 files and 0 folders) ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script changes the working directory to the user's NextCloud folder. .EXAMPLE PS> ./cd-nextcloud - πŸ“‚C:\Users\Markus\NextCloud entered (has 2 files and 3 subfolders) + πŸ“‚C:\Users\Markus\NextCloud entered (has 2 files and 0 folders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -47,14 +47,14 @@ Script Content #> try { - $path = Resolve-Path "~/NextCloud" - if (-not(Test-Path "$path" -pathType container)) { - throw "No NextCloud folder at $path - is NextCloud installed?" + if (-not(Test-Path "~/NextCloud" -pathType container)) { + throw "No 'NextCloud' folder in your home directory - is NextCloud installed?" } + $path = Resolve-Path "~/NextCloud" Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory $folders = Get-ChildItem $path -attributes Directory - "πŸ“‚$path entered (has $($files.Count) files and $($folders.Count) subfolders)" + "πŸ“‚$path entered (has $($files.Count) files and $($folders.Count) folders)" exit 0 # success } catch { "⚠️ Error: $($Error[0])" @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/cd-onedrive.md b/docs/cd-onedrive.md index 7ab75d8d..a565d8c9 100644 --- a/docs/cd-onedrive.md +++ b/docs/cd-onedrive.md @@ -1,7 +1,7 @@ The *cd-onedrive.ps1* Script =========================== -This PowerShell script changes the working directory to the user's OneDrive folder. +This PowerShell script sets the current working directory to the user's OneDrive folder. Parameters ---------- @@ -16,8 +16,8 @@ Parameters Example ------- ```powershell -PS> ./cd-onedrive -πŸ“‚C:\Users\Markus\OneDrive entered (has 2 files and 3 subfolders) +PS> ./cd-onedrive.ps1 +πŸ“‚C:\Users\Markus\OneDrive with 2 files and 0 folders entered. ``` @@ -34,12 +34,12 @@ Script Content ```powershell <# .SYNOPSIS - Sets the working directory to the user's OneDrive folder + Sets the working dir to the OneDrive folder .DESCRIPTION - This PowerShell script changes the working directory to the user's OneDrive folder. + This PowerShell script sets the current working directory to the user's OneDrive folder. .EXAMPLE - PS> ./cd-onedrive - πŸ“‚C:\Users\Markus\OneDrive entered (has 2 files and 3 subfolders) + PS> ./cd-onedrive.ps1 + πŸ“‚C:\Users\Markus\OneDrive with 2 files and 0 folders entered. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -47,14 +47,14 @@ Script Content #> try { - $path = Resolve-Path "~/OneDrive" - if (-not(Test-Path "$path" -pathType container)) { - throw "No OneDrive folder at $path - is OneDrive installed?" + if (-not(Test-Path "~/OneDrive" -pathType container)) { + throw "No 'OneDrive' folder in your home directory - is OneDrive installed?" } + $path = Resolve-Path "~/OneDrive" Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory $folders = Get-ChildItem $path -attributes Directory - "πŸ“‚$path entered (has $($files.Count) files and $($folders.Count) subfolders)" + "πŸ“‚$path with $($files.Count) files and $($folders.Count) folders entered." exit 0 # success } catch { "⚠️ Error: $($Error[0])" @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/cd-pics.md b/docs/cd-pics.md index 70a0e2e0..46529347 100644 --- a/docs/cd-pics.md +++ b/docs/cd-pics.md @@ -1,7 +1,7 @@ The *cd-pics.ps1* Script =========================== -This PowerShell script changes the working directory to the user's pictures folder. +This PowerShell script sets the current working directory to the user's pictures folder. Parameters ---------- @@ -16,8 +16,8 @@ Parameters Example ------- ```powershell -PS> ./cd-pics -πŸ“‚C:\Users\Markus\Pictures entered (has 7 files and 0 subfolders) +PS> ./cd-pics.ps1 +πŸ“‚C:\Users\Markus\Pictures with 7 files and 0 folders entered. ``` @@ -34,12 +34,12 @@ Script Content ```powershell <# .SYNOPSIS - Sets the working directory to the user's pictures folder + Sets the working dir to the user's pictures folder .DESCRIPTION - This PowerShell script changes the working directory to the user's pictures folder. + This PowerShell script sets the current working directory to the user's pictures folder. .EXAMPLE - PS> ./cd-pics - πŸ“‚C:\Users\Markus\Pictures entered (has 7 files and 0 subfolders) + PS> ./cd-pics.ps1 + πŸ“‚C:\Users\Markus\Pictures with 7 files and 0 folders entered. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -48,17 +48,20 @@ Script Content try { if ($IsLinux) { + if (-not(Test-Path "~/Pictures" -pathType container)) { + throw "No 'Pictures' folder in your home directory yet" + } $path = Resolve-Path "~/Pictures" } else { $path = [Environment]::GetFolderPath('MyPictures') - } - if (-not(Test-Path "$path" -pathType container)) { - throw "No pictures folder at $path" + if (-not(Test-Path "$path" -pathType container)) { + throw "No pictures folder at: $path" + } } Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory $folders = Get-ChildItem $path -attributes Directory - "πŸ“‚$path entered (has $($files.Count) files and $($folders.Count) subfolders)" + "πŸ“‚$path with $($files.Count) files and $($folders.Count) folders entered." exit 0 # success } catch { "⚠️ Error: $($Error[0])" @@ -66,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/cd-public.md b/docs/cd-public.md index c8482b93..ff00d9d0 100644 --- a/docs/cd-public.md +++ b/docs/cd-public.md @@ -1,7 +1,7 @@ The *cd-public.ps1* Script =========================== -This PowerShell script changes the working directory to the Public folder. +This PowerShell script sets the current working directory to the Public folder. Parameters ---------- @@ -16,8 +16,8 @@ Parameters Example ------- ```powershell -PS> ./cd-public -πŸ“‚C:\Users\Public entered (has 2 files and 3 subfolders) +PS> ./cd-public.ps1 +πŸ“‚C:\Users\Public with 2 files and 3 folders entered. ``` @@ -34,12 +34,12 @@ Script Content ```powershell <# .SYNOPSIS - Sets the working directory to the Public folder + Sets the working dir to the Public folder .DESCRIPTION - This PowerShell script changes the working directory to the Public folder. + This PowerShell script sets the current working directory to the Public folder. .EXAMPLE - PS> ./cd-public - πŸ“‚C:\Users\Public entered (has 2 files and 3 subfolders) + PS> ./cd-public.ps1 + πŸ“‚C:\Users\Public with 2 files and 3 folders entered. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -48,17 +48,20 @@ Script Content try { if ($IsLinux) { + if (-not(Test-Path "~/Public" -pathType container)) { + throw "No 'Public' folder in your home directory yet" + } $path = Resolve-Path "~/Public" } else { + if (-not(Test-Path "~/../Public" -pathType container)) { + throw "No 'Public' folder yet" + } $path = Resolve-Path "~/../Public" } - if (-not(Test-Path "$path" -pathType container)) { - throw "No public folder at $path" - } Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory $folders = Get-ChildItem $path -attributes Directory - "πŸ“‚$path entered (has $($files.Count) files and $($folders.Count) subfolders)" + "πŸ“‚$path with $($files.Count) files and $($folders.Count) folders entered." exit 0 # success } catch { "⚠️ Error: $($Error[0])" @@ -66,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/cd-recent.md b/docs/cd-recent.md index 3bfd8210..5ac64365 100644 --- a/docs/cd-recent.md +++ b/docs/cd-recent.md @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/cd-recycle-bin.md b/docs/cd-recycle-bin.md index 38a4d72f..1c0bf08f 100644 --- a/docs/cd-recycle-bin.md +++ b/docs/cd-recycle-bin.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/cd-repo.md b/docs/cd-repo.md index fd9cded4..2586cbf0 100644 --- a/docs/cd-repo.md +++ b/docs/cd-repo.md @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/cd-repos.md b/docs/cd-repos.md index d48ca449..93e57f72 100644 --- a/docs/cd-repos.md +++ b/docs/cd-repos.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-repos.ps1 -πŸ“‚C:\Repos (has 33 subfolders) +πŸ“‚C:\Repos with 33 folders entered. ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script changes the working directory to the folder for Git repositories. .EXAMPLE PS> ./cd-repos.ps1 - πŸ“‚C:\Repos (has 33 subfolders) + πŸ“‚C:\Repos with 33 folders entered. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -57,13 +57,11 @@ try { } elseif (Test-Path "/repositories" -pathType container) { $path = "/repositories" } elseif (Test-Path "~/source/repos" -pathType container) { $path = "~/source/repos" # Visual Studio default } elseif (Test-Path "D:/Repos" -pathType container) { $path = "D:/Repos" # second HDD - } else { - throw "No folder found for Git repositories (in home or root directory) - Please create one." - } + } else { throw "Found no folder for Git repositories (in home or root directory) - Please create one." } $path = Resolve-Path $path Set-Location "$path" - $subfolders = Get-ChildItem $path -attributes Directory - "πŸ“‚$path entered (has $($subfolders.Count) subfolders)" + $folders = Get-ChildItem $path -attributes Directory + "πŸ“‚$path with $($folders.Count) folders entered." exit 0 # success } catch { "⚠️ Error: $($Error[0])" @@ -71,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/cd-root.md b/docs/cd-root.md index 174a2654..952b9349 100644 --- a/docs/cd-root.md +++ b/docs/cd-root.md @@ -16,8 +16,8 @@ Parameters Example ------- ```powershell -PS> ./cd-root -πŸ“‚C:\ entered (has 0 files and 7 folders) +PS> ./cd-root.ps1 +πŸ“‚C:\ with 7 folders and 0 files entered. ``` @@ -34,12 +34,12 @@ Script Content ```powershell <# .SYNOPSIS - Sets the working directory to the root directory + Sets the working dir to the root dir .DESCRIPTION This PowerShell script changes the current working directory to the root directory (C:\ on Windows). .EXAMPLE - PS> ./cd-root - πŸ“‚C:\ entered (has 0 files and 7 folders) + PS> ./cd-root.ps1 + πŸ“‚C:\ with 7 folders and 0 files entered. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -47,11 +47,11 @@ Script Content #> try { - if ($IsLinux) { $path = "/" } else { $path = "C:\" } + if ($IsLinux -or $IsMacOS) { $path = "/" } else { $path = "C:\" } Set-Location "$path" - $files = Get-ChildItem $path -attributes !Directory $folders = Get-ChildItem $path -attributes Directory - "πŸ“‚$path entered (has $($files.Count) files and $($folders.Count) folders)" + $files = Get-ChildItem $path -attributes !Directory + "πŸ“‚$path with $($folders.Count) folders and $($files.Count) files entered." exit 0 # success } catch { "⚠️ Error: $($Error[0])" @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/cd-screenshots.md b/docs/cd-screenshots.md index d8a427cc..615cc5e3 100644 --- a/docs/cd-screenshots.md +++ b/docs/cd-screenshots.md @@ -19,12 +19,12 @@ Script Content ```powershell <# .SYNOPSIS - Sets the working directory to the user's screenshots folder + Sets the working dir to the user's screenshots folder .DESCRIPTION - This PowerShell script changes the working directory to the user's screenshots folder. + This PowerShell script sets the current working directory to the user's screenshots folder. .EXAMPLE - PS> ./cd-screenshots - πŸ“‚C:\Users\Markus\Pictures\Screenshots (has 7 files and 0 folders) + PS> ./cd-screenshots.ps1 + πŸ“‚C:\Users\Markus\Pictures\Screenshots with 7 files and 0 folders entered. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -33,12 +33,12 @@ Script Content function GetScreenshotsFolder { if ($IsLinux) { + if (-not(Test-Path "~/Pictures" -pathType container)) { throw "No 'Pictures' folder in your home directory yet" } $path = "~/Pictures" - if (-not(Test-Path "$path" -pathType container)) { throw "Pictures folder at $path doesn't exist (yet)" } if (Test-Path "$path/Screenshots" -pathType container) { $path = "$path/Screenshots" } } 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 "No pictures folder at: $path" } if (Test-Path "$path\Screenshots" -pathType container) { $path = "$path\Screenshots" } } return $path @@ -49,7 +49,7 @@ try { Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory $folders = Get-ChildItem $path -attributes Directory - "πŸ“‚$path entered (has $($files.Count) files and $($folders.Count) folders)" + "πŸ“‚$path with $($files.Count) files and $($folders.Count) folders entered." exit 0 # success } catch { "⚠️ Error: $($Error[0])" @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/cd-scripts.md b/docs/cd-scripts.md index f45469d3..9c943556 100644 --- a/docs/cd-scripts.md +++ b/docs/cd-scripts.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-scripts.ps1 -πŸ“‚C:\Repos\PowerShell\scripts entered (has 645 scripts) +πŸ“‚C:\Repos\PowerShell\scripts with 655 scripts entered. ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script changes the working directory to the PowerShell scripts folder. .EXAMPLE PS> ./cd-scripts.ps1 - πŸ“‚C:\Repos\PowerShell\scripts entered (has 645 scripts) + πŸ“‚C:\Repos\PowerShell\scripts with 655 scripts entered. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -48,12 +48,10 @@ Script Content try { $path = Resolve-Path "$PSScriptRoot" - if (-not(Test-Path "$path" -pathType container)) { - throw "No PowerShell scripts folder at πŸ“‚$path" - } + if (-not(Test-Path "$path" -pathType container)) { throw "No scripts folder at: $path" } Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory - "πŸ“‚$path entered (has $($files.Count) scripts)" + "πŸ“‚$path with $($files.Count) scripts entered." exit 0 # success } catch { "⚠️ Error: $($Error[0])" @@ -61,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/cd-ssh.md b/docs/cd-ssh.md index 5ef1ed7d..d3fc780c 100644 --- a/docs/cd-ssh.md +++ b/docs/cd-ssh.md @@ -1,7 +1,7 @@ The *cd-ssh.ps1* Script =========================== -This PowerShell script changes the working directory to the user's secure shell (SSH) folder. +This PowerShell script sets the current working directory to the user's secure shell (SSH) folder. Parameters ---------- @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-ssh.ps1 -πŸ“‚C:\Users\Markus\.ssh entered (has 4 files) +πŸ“‚C:\Users\Markus\.ssh with 4 files entered. ``` @@ -34,12 +34,12 @@ Script Content ```powershell <# .SYNOPSIS - Sets the working directory to the SSH folder + Sets the working dir to the SSH folder .DESCRIPTION - This PowerShell script changes the working directory to the user's secure shell (SSH) folder. + This PowerShell script sets the current working directory to the user's secure shell (SSH) folder. .EXAMPLE PS> ./cd-ssh.ps1 - πŸ“‚C:\Users\Markus\.ssh entered (has 4 files) + πŸ“‚C:\Users\Markus\.ssh with 4 files entered. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -49,12 +49,12 @@ Script Content try { $path = "~/.ssh" if (-not(Test-Path "$path" -pathType container)) { - throw "No secure shell (SSH) folder at $path" + throw "No '.ssh' folder in your home directory yet - Is SSH installed?" } $path = Resolve-Path "$path" Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory - "πŸ“‚$path entered (has $($files.Count) files)" + "πŸ“‚$path with $($files.Count) files entered." exit 0 # success } catch { "⚠️ Error: $($Error[0])" @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/cd-sync.md b/docs/cd-sync.md new file mode 100644 index 00000000..f5f00d8c --- /dev/null +++ b/docs/cd-sync.md @@ -0,0 +1,65 @@ +The *cd-sync.ps1* Script +=========================== + +This PowerShell script changes the working directory to the user's Syncthing folder. + +Parameters +---------- +```powershell +/Repos/PowerShell/scripts/cd-sync.ps1 [] + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Example +------- +```powershell +PS> ./cd-sync.ps1 +πŸ“‚C:\Users\Markus\Sync entered (has 2 files and 0 folders) + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Sets the working directory to the user's Sync folder +.DESCRIPTION + This PowerShell script changes the working directory to the user's Syncthing folder. +.EXAMPLE + PS> ./cd-sync.ps1 + πŸ“‚C:\Users\Markus\Sync entered (has 2 files and 0 folders) +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +try { + if (-not(Test-Path "~/Sync" -pathType container)) { + throw "No 'Sync' folder in your home directory - is Syncthing installed?" + } + $path = Resolve-Path "~/Sync" + Set-Location "$path" + $files = Get-ChildItem $path -attributes !Directory + $folders = Get-ChildItem $path -attributes Directory + "πŸ“‚$path entered (has $($files.Count) files and $($folders.Count) folders)" + exit 0 # success +} catch { + "⚠️ Error: $($Error[0])" + exit 1 +} +``` + +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/cd-temp.md b/docs/cd-temp.md index 1006c9c2..1246adac 100644 --- a/docs/cd-temp.md +++ b/docs/cd-temp.md @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/cd-templates.md b/docs/cd-templates.md index cf22a436..bce43d27 100644 --- a/docs/cd-templates.md +++ b/docs/cd-templates.md @@ -1,7 +1,7 @@ The *cd-templates.ps1* Script =========================== -This PowerShell script changes the working directory to the templates folder. +This PowerShell script sets the current working directory to the templates folder. Parameters ---------- @@ -16,8 +16,8 @@ Parameters Example ------- ```powershell -PS> ./cd-templates -πŸ“‚/home/Markus/Templates entered (has 3 files and 0 subfolders) +PS> ./cd-templates.ps1 +πŸ“‚/home/Markus/Templates with 3 files and 0 folders entered. ``` @@ -34,12 +34,12 @@ Script Content ```powershell <# .SYNOPSIS - Sets the working directory to the templates folder + Sets the working dir to the templates folder .DESCRIPTION - This PowerShell script changes the working directory to the templates folder. + This PowerShell script sets the current working directory to the templates folder. .EXAMPLE - PS> ./cd-templates - πŸ“‚/home/Markus/Templates entered (has 3 files and 0 subfolders) + PS> ./cd-templates.ps1 + πŸ“‚/home/Markus/Templates with 3 files and 0 folders entered. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -48,17 +48,20 @@ Script Content try { if ($IsLinux) { + if (-not(Test-Path "~/Templates" -pathType container)) { + throw "No 'Templates' folder in your home directory yet" + } $path = Resolve-Path "~/Templates" } else { $path = [Environment]::GetFolderPath('Templates') - } - if (-not(Test-Path "$path" -pathType container)) { - throw "No templates folder at $path" + if (-not(Test-Path "$path" -pathType container)) { + throw "No templates folder at: $path" + } } Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory $folders = Get-ChildItem $path -attributes Directory - "πŸ“‚$path entered (has $($files.Count) files and $($folders.Count) subfolders)" + "πŸ“‚$path with $($files.Count) files and $($folders.Count) folders entered." exit 0 # success } catch { "⚠️ Error: $($Error[0])" @@ -66,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/cd-trash.md b/docs/cd-trash.md index 82bcc50e..00c24127 100644 --- a/docs/cd-trash.md +++ b/docs/cd-trash.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/cd-up.md b/docs/cd-up.md index 7b0d118d..1136ba99 100644 --- a/docs/cd-up.md +++ b/docs/cd-up.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/cd-up2.md b/docs/cd-up2.md index 47051bcd..e52ca1b9 100644 --- a/docs/cd-up2.md +++ b/docs/cd-up2.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/cd-up3.md b/docs/cd-up3.md index 0d3c5702..eaf2e3e7 100644 --- a/docs/cd-up3.md +++ b/docs/cd-up3.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/cd-up4.md b/docs/cd-up4.md index 91c1f509..99aa489c 100644 --- a/docs/cd-up4.md +++ b/docs/cd-up4.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/cd-users.md b/docs/cd-users.md index 3ba865d0..d37ab15f 100644 --- a/docs/cd-users.md +++ b/docs/cd-users.md @@ -1,7 +1,7 @@ The *cd-users.ps1* Script =========================== -This PowerShell script changes the working directory to the users directory. +This PowerShell script sets the current working directory to the users directory. Parameters ---------- @@ -16,8 +16,8 @@ Parameters Example ------- ```powershell -PS> ./cd-users -πŸ“‚C:\Users entered (has 0 files and 4 subfolders) +PS> ./cd-users.ps1 +πŸ“‚C:\Users with 4 folders entered. ``` @@ -34,12 +34,12 @@ Script Content ```powershell <# .SYNOPSIS - Sets the working directory to the users directory + Sets the working dir to the users directory .DESCRIPTION - This PowerShell script changes the working directory to the users directory. + This PowerShell script sets the current working directory to the users directory. .EXAMPLE - PS> ./cd-users - πŸ“‚C:\Users entered (has 0 files and 4 subfolders) + PS> ./cd-users.ps1 + πŸ“‚C:\Users with 4 folders entered. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -49,12 +49,11 @@ Script Content try { $path = Resolve-Path "~/.." if (-not(Test-Path "$path" -pathType container)) { - throw "No users directory at $path" + throw "No users directory at: $path" } Set-Location "$path" - $files = Get-ChildItem $path -attributes !Directory $folders = Get-ChildItem $path -attributes Directory - "πŸ“‚$path entered (has $($files.Count) files and $($folders.Count) subfolders)" + "πŸ“‚$path with $($folders.Count) folders entered." exit 0 # success } catch { "⚠️ Error: $($Error[0])" @@ -62,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/cd-videos.md b/docs/cd-videos.md index d719d22a..38d8e372 100644 --- a/docs/cd-videos.md +++ b/docs/cd-videos.md @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/cd-windows.md b/docs/cd-windows.md index 1ba91dc0..758c5606 100644 --- a/docs/cd-windows.md +++ b/docs/cd-windows.md @@ -17,7 +17,7 @@ Example ------- ```powershell PS> ./cd-windows -πŸ“‚C:\Windows entered (has 7 files and 42 subfolders) +πŸ“‚C:\Windows entered (has 7 files and 42 folders) ``` @@ -39,7 +39,7 @@ Script Content This PowerShell script changes the working directory to the Windows directory. .EXAMPLE PS> ./cd-windows - πŸ“‚C:\Windows entered (has 7 files and 42 subfolders) + πŸ“‚C:\Windows entered (has 7 files and 42 folders) .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -54,7 +54,7 @@ try { Set-Location "$path" $files = Get-ChildItem $path -attributes !Directory $folders = Get-ChildItem $path -attributes Directory - "πŸ“‚$path entered (has $($files.Count) files and $($folders.Count) subfolders)" + "πŸ“‚$path entered (has $($files.Count) files and $($folders.Count) folders)" exit 0 # success } catch { "⚠️ Error: $($Error[0])" @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/change-wallpaper.md b/docs/change-wallpaper.md index 262dac27..39752150 100644 --- a/docs/change-wallpaper.md +++ b/docs/change-wallpaper.md @@ -80,4 +80,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/check-admin.md b/docs/check-admin.md index 057e284f..9b0eb32e 100644 --- a/docs/check-admin.md +++ b/docs/check-admin.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/check-apps.md b/docs/check-apps.md index 63a3b65f..9da53898 100644 --- a/docs/check-apps.md +++ b/docs/check-apps.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/check-bios.md b/docs/check-bios.md index 5b8ca68e..f33ad3ab 100644 --- a/docs/check-bios.md +++ b/docs/check-bios.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/check-cpu.md b/docs/check-cpu.md index 6b831856..7e7d7925 100644 --- a/docs/check-cpu.md +++ b/docs/check-cpu.md @@ -104,4 +104,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/check-credentials.md b/docs/check-credentials.md index b37a39dc..7305a53a 100644 --- a/docs/check-credentials.md +++ b/docs/check-credentials.md @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/check-day.md b/docs/check-day.md index 3020acaa..faf55dc6 100644 --- a/docs/check-day.md +++ b/docs/check-day.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/check-dns.md b/docs/check-dns.md index 6442d49a..b1474dac 100644 --- a/docs/check-dns.md +++ b/docs/check-dns.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/check-drive-space.md b/docs/check-drive-space.md index e6180c57..7afc09d7 100644 --- a/docs/check-drive-space.md +++ b/docs/check-drive-space.md @@ -37,7 +37,7 @@ Example ------- ```powershell PS> ./check-drive-space.ps1 C -βœ… Drive C: uses 56% of 1TB - 442GB free +βœ… Drive C: uses 56% of 1TB: 442GB free ``` @@ -63,7 +63,7 @@ Script Content Specifies the minimum level in bytes (10GB by default) .EXAMPLE PS> ./check-drive-space.ps1 C - βœ… Drive C: uses 56% of 1TB - 442GB free + βœ… Drive C: uses 56% of 1TB: 442GB free .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -103,7 +103,7 @@ try { Write-Host "⚠️ Drive $driveName with $(Bytes2String $total) is nearly full, $(Bytes2String $free) free" } else { [int64]$percent = ($used * 100) / $total - Write-Host "βœ… Drive $driveName uses $percent% of $(Bytes2String $total) - $(Bytes2String $free) free" + Write-Host "βœ… Drive $driveName uses $percent% of $(Bytes2String $total): $(Bytes2String $free) free" } exit 0 # success } catch { @@ -112,4 +112,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/check-drives.md b/docs/check-drives.md index e5000834..5d215847 100644 --- a/docs/check-drives.md +++ b/docs/check-drives.md @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/check-dusk.md b/docs/check-dusk.md index 9d0174fd..08914e14 100644 --- a/docs/check-dusk.md +++ b/docs/check-dusk.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/check-easter-sunday.md b/docs/check-easter-sunday.md index 37429bbd..20e6dff0 100644 --- a/docs/check-easter-sunday.md +++ b/docs/check-easter-sunday.md @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/check-file-system.md b/docs/check-file-system.md index a99e32c0..7944fb89 100644 --- a/docs/check-file-system.md +++ b/docs/check-file-system.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:52)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/check-file.md b/docs/check-file.md index 9436c943..c5ea2d47 100644 --- a/docs/check-file.md +++ b/docs/check-file.md @@ -171,4 +171,4 @@ function Check-Header { param( $path ) Check-Header $Path ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/check-firewall.md b/docs/check-firewall.md index 911b3013..b4f1044f 100644 --- a/docs/check-firewall.md +++ b/docs/check-firewall.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/check-gpu.md b/docs/check-gpu.md index 01d8532c..6d04ad51 100644 --- a/docs/check-gpu.md +++ b/docs/check-gpu.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/check-hardware.md b/docs/check-hardware.md index 53782f28..6d997024 100644 --- a/docs/check-hardware.md +++ b/docs/check-hardware.md @@ -64,4 +64,4 @@ Write-Host "`n === H A R D W A R E ===" -foregroundColor green exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/check-health.md b/docs/check-health.md index 3ad0c4f1..810f1b09 100644 --- a/docs/check-health.md +++ b/docs/check-health.md @@ -58,4 +58,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/check-independence-day.md b/docs/check-independence-day.md index 92c8847a..053db7cd 100644 --- a/docs/check-independence-day.md +++ b/docs/check-independence-day.md @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/check-ipv4-address.md b/docs/check-ipv4-address.md index 3db95678..cbcb2240 100644 --- a/docs/check-ipv4-address.md +++ b/docs/check-ipv4-address.md @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/check-ipv6-address.md b/docs/check-ipv6-address.md index 9ad9e805..c8e36ae4 100644 --- a/docs/check-ipv6-address.md +++ b/docs/check-ipv6-address.md @@ -99,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/check-iss-position.md b/docs/check-iss-position.md index c133c7ae..318a161c 100644 --- a/docs/check-iss-position.md +++ b/docs/check-iss-position.md @@ -55,4 +55,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/check-mac-address.md b/docs/check-mac-address.md index 2f39a8e0..273329a0 100644 --- a/docs/check-mac-address.md +++ b/docs/check-mac-address.md @@ -88,4 +88,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/check-midnight.md b/docs/check-midnight.md index 13b057c2..212464d2 100644 --- a/docs/check-midnight.md +++ b/docs/check-midnight.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/check-month.md b/docs/check-month.md index a75bd198..fb732efb 100644 --- a/docs/check-month.md +++ b/docs/check-month.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/check-moon-phase.md b/docs/check-moon-phase.md index be7715b5..e0c94e15 100644 --- a/docs/check-moon-phase.md +++ b/docs/check-moon-phase.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/check-motherboard.md b/docs/check-motherboard.md index b48407e0..23c70339 100644 --- a/docs/check-motherboard.md +++ b/docs/check-motherboard.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/check-network.md b/docs/check-network.md index 1a5b003b..956f0154 100644 --- a/docs/check-network.md +++ b/docs/check-network.md @@ -67,4 +67,4 @@ Write-Host "`n === N E T W O R K ===" -foregroundColor green exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/check-noon.md b/docs/check-noon.md index 740d4534..2d1954d9 100644 --- a/docs/check-noon.md +++ b/docs/check-noon.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/check-os.md b/docs/check-os.md index 06d7a370..a094ec66 100644 --- a/docs/check-os.md +++ b/docs/check-os.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/check-outlook.md b/docs/check-outlook.md index cdf70167..1abaf162 100644 --- a/docs/check-outlook.md +++ b/docs/check-outlook.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/check-password.md b/docs/check-password.md index 896d830a..9b11d124 100644 --- a/docs/check-password.md +++ b/docs/check-password.md @@ -95,4 +95,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:34)* diff --git a/docs/check-pending-reboot.md b/docs/check-pending-reboot.md index d052698a..7629abce 100644 --- a/docs/check-pending-reboot.md +++ b/docs/check-pending-reboot.md @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/check-pnp-devices.md b/docs/check-pnp-devices.md index 76cfc789..a7d00a00 100644 --- a/docs/check-pnp-devices.md +++ b/docs/check-pnp-devices.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/check-power.md b/docs/check-power.md index 35188c8a..36ffbe9f 100644 --- a/docs/check-power.md +++ b/docs/check-power.md @@ -91,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/check-powershell.md b/docs/check-powershell.md index 79b53176..26570633 100644 --- a/docs/check-powershell.md +++ b/docs/check-powershell.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/check-ps1-file.md b/docs/check-ps1-file.md index 3e5a70b1..6a2da542 100644 --- a/docs/check-ps1-file.md +++ b/docs/check-ps1-file.md @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/check-ram.md b/docs/check-ram.md index b1112623..0d1bcb6d 100644 --- a/docs/check-ram.md +++ b/docs/check-ram.md @@ -98,4 +98,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/check-repo.md b/docs/check-repo.md index 1b219198..94635468 100644 --- a/docs/check-repo.md +++ b/docs/check-repo.md @@ -130,4 +130,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/check-repos.md b/docs/check-repos.md index a5e68efc..ea6de9fb 100644 --- a/docs/check-repos.md +++ b/docs/check-repos.md @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/check-santa.md b/docs/check-santa.md index ac84e919..95d13f3f 100644 --- a/docs/check-santa.md +++ b/docs/check-santa.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/check-smart-devices.md b/docs/check-smart-devices.md index 377af721..15d9005c 100644 --- a/docs/check-smart-devices.md +++ b/docs/check-smart-devices.md @@ -120,4 +120,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/check-software.md b/docs/check-software.md index dc358525..ef42b3fb 100644 --- a/docs/check-software.md +++ b/docs/check-software.md @@ -64,4 +64,4 @@ Write-Host "`n === S O F T W A R E ===" -foregroundColor green exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/check-subnet-mask.md b/docs/check-subnet-mask.md index 9fe0c4ed..bb0d349a 100644 --- a/docs/check-subnet-mask.md +++ b/docs/check-subnet-mask.md @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/check-swap-space.md b/docs/check-swap-space.md index cf65afe1..884cb40f 100644 --- a/docs/check-swap-space.md +++ b/docs/check-swap-space.md @@ -99,7 +99,7 @@ try { Write-Output "βœ… Swap space has $(MB2String $total) reserved." } else { [int64]$percent = ($used * 100) / $total - Write-Output "βœ… Swap space at $(MB2String $used) ($percent%) of $(MB2String $total)." + Write-Output "βœ… Swap space uses $percent% of $(MB2String $total): $(MB2String $free) free" } exit 0 # success } catch { @@ -108,4 +108,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/check-symlinks.md b/docs/check-symlinks.md index 1439d864..1a40c8f4 100644 --- a/docs/check-symlinks.md +++ b/docs/check-symlinks.md @@ -99,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/check-time-zone.md b/docs/check-time-zone.md index a25ca4bb..e58e41b9 100644 --- a/docs/check-time-zone.md +++ b/docs/check-time-zone.md @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/check-uptime.md b/docs/check-uptime.md index fd6e68f5..b4ae9919 100644 --- a/docs/check-uptime.md +++ b/docs/check-uptime.md @@ -114,4 +114,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/check-vpn.md b/docs/check-vpn.md index fe9abcdd..f7ce8a1d 100644 --- a/docs/check-vpn.md +++ b/docs/check-vpn.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/check-weather.md b/docs/check-weather.md index 61377588..84504f65 100644 --- a/docs/check-weather.md +++ b/docs/check-weather.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/check-week.md b/docs/check-week.md index 3e4d33e6..17f111b0 100644 --- a/docs/check-week.md +++ b/docs/check-week.md @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/check-wind.md b/docs/check-wind.md index e9bda17c..febf08ea 100644 --- a/docs/check-wind.md +++ b/docs/check-wind.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/check-windows-system-files.md b/docs/check-windows-system-files.md index 78d6e3b5..4a07c139 100644 --- a/docs/check-windows-system-files.md +++ b/docs/check-windows-system-files.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/check-xml-file.md b/docs/check-xml-file.md index 5e50692b..60a85be5 100644 --- a/docs/check-xml-file.md +++ b/docs/check-xml-file.md @@ -86,4 +86,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/check-xml-files.md b/docs/check-xml-files.md index c74d90e5..f9e0229e 100644 --- a/docs/check-xml-files.md +++ b/docs/check-xml-files.md @@ -9,7 +9,7 @@ Parameters /Repos/PowerShell/scripts/check-xml-files.ps1 [[-path] ] [] -path - Specifies the path to the directory tree (current working dir by default) + Specifies the file path to the directory tree (current working dir by default) Required? false Position? 1 @@ -49,7 +49,7 @@ Script Content .DESCRIPTION This PowerShell script verifies any XML file (with suffix .xml) in the given directory tree for validity. .PARAMETER path - Specifies the path to the directory tree (current working dir by default) + Specifies the file path to the directory tree (current working dir by default) .EXAMPLE PS> ./check-xml-files.ps1 C:\Windows ... @@ -65,23 +65,24 @@ param([string]$path = "$PWD") try { $stopWatch = [system.diagnostics.stopwatch]::startNew() $path = Resolve-Path "$path" - Write-Progress "Scanning any XML file within $path..." [int]$valid = [int]$invalid = 0 Get-ChildItem -path "$path" -attributes !Directory -recurse -force | Where-Object { $_.Name -like "*.xml" } | Foreach-Object { & $PSScriptRoot/check-xml-file.ps1 "$($_.FullName)" if ($lastExitCode -eq 0) { $valid++ } else { $invalid++ } } - Write-Progress -completed "Done." - [int]$total = $valid + $invalid [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "βœ… Checked $total XML files ($invalid invalid, $valid valid) within πŸ“‚$path in $elapsed sec" + if ($invalid -ne 0) { + "⚠️ $invalid XML files are INVALID, $valid are valid (took $($elapsed)s)." + } else { + "βœ… All $valid XML files are valid (took $($elapsed)s)." + } exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/clean-repo.md b/docs/clean-repo.md index c8ab57e7..1dab5908 100644 --- a/docs/clean-repo.md +++ b/docs/clean-repo.md @@ -99,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/clean-repos.md b/docs/clean-repos.md index 571b6e0c..094527fc 100644 --- a/docs/clean-repos.md +++ b/docs/clean-repos.md @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/clear-dns-cache.md b/docs/clear-dns-cache.md index 14fe9b3f..8eed1f7d 100644 --- a/docs/clear-dns-cache.md +++ b/docs/clear-dns-cache.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/clear-recycle-bin.md b/docs/clear-recycle-bin.md index b86e3051..89fc3e9e 100644 --- a/docs/clear-recycle-bin.md +++ b/docs/clear-recycle-bin.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/clone-repos.md b/docs/clone-repos.md index 601a7037..fa9d0ae3 100644 --- a/docs/clone-repos.md +++ b/docs/clone-repos.md @@ -119,4 +119,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/clone-shallow.md b/docs/clone-shallow.md index f456d7b8..00ed4d84 100644 --- a/docs/clone-shallow.md +++ b/docs/clone-shallow.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/close-calculator.md b/docs/close-calculator.md index 991694e3..1bdcc7af 100644 --- a/docs/close-calculator.md +++ b/docs/close-calculator.md @@ -48,4 +48,4 @@ Stop-Process -name "CalculatorApp" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/close-chrome.md b/docs/close-chrome.md index aaa2d6c2..ab2d42ec 100644 --- a/docs/close-chrome.md +++ b/docs/close-chrome.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/close-cortana.md b/docs/close-cortana.md index 46f2c877..f2daf0ea 100644 --- a/docs/close-cortana.md +++ b/docs/close-cortana.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/close-edge.md b/docs/close-edge.md index 6e2bb578..dd4aaf1e 100644 --- a/docs/close-edge.md +++ b/docs/close-edge.md @@ -52,4 +52,4 @@ if ($lastExitCode -ne 0) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/close-file-explorer.md b/docs/close-file-explorer.md index e1c29f35..5e4244c8 100644 --- a/docs/close-file-explorer.md +++ b/docs/close-file-explorer.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/close-firefox.md b/docs/close-firefox.md index d27fedb4..c2066f36 100644 --- a/docs/close-firefox.md +++ b/docs/close-firefox.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/close-git-extensions.md b/docs/close-git-extensions.md index 7ed6a465..11c4faab 100644 --- a/docs/close-git-extensions.md +++ b/docs/close-git-extensions.md @@ -52,4 +52,4 @@ if ($lastExitCode -ne 0) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/close-magnifier.md b/docs/close-magnifier.md index dab958d1..b9dcd560 100644 --- a/docs/close-magnifier.md +++ b/docs/close-magnifier.md @@ -48,4 +48,4 @@ tskill magnify exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/close-microsoft-paint.md b/docs/close-microsoft-paint.md index a1df8e9d..8a2a41cb 100644 --- a/docs/close-microsoft-paint.md +++ b/docs/close-microsoft-paint.md @@ -52,4 +52,4 @@ if ($lastExitCode -ne 0) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/close-microsoft-store.md b/docs/close-microsoft-store.md index 11da6e86..81797ff7 100644 --- a/docs/close-microsoft-store.md +++ b/docs/close-microsoft-store.md @@ -52,4 +52,4 @@ if ($lastExitCode -ne 0) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/close-netflix.md b/docs/close-netflix.md index 657284ab..2f117a01 100644 --- a/docs/close-netflix.md +++ b/docs/close-netflix.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/close-notepad.md b/docs/close-notepad.md index 1ef2a68f..dfdea522 100644 --- a/docs/close-notepad.md +++ b/docs/close-notepad.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/close-obs-studio.md b/docs/close-obs-studio.md index f71d7ad0..20901dc3 100644 --- a/docs/close-obs-studio.md +++ b/docs/close-obs-studio.md @@ -52,4 +52,4 @@ if ($lastExitCode -ne 0) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/close-one-calendar.md b/docs/close-one-calendar.md index f03e2d2d..746a74e5 100644 --- a/docs/close-one-calendar.md +++ b/docs/close-one-calendar.md @@ -52,4 +52,4 @@ if ($lastExitCode -ne 0) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/close-outlook.md b/docs/close-outlook.md index 78395c62..7ed04a7a 100644 --- a/docs/close-outlook.md +++ b/docs/close-outlook.md @@ -52,4 +52,4 @@ if ($lastExitCode -ne 0) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/close-paint-three-d.md b/docs/close-paint-three-d.md index c1ef8e80..44392381 100644 --- a/docs/close-paint-three-d.md +++ b/docs/close-paint-three-d.md @@ -52,4 +52,4 @@ if ($lastExitCode -ne 0) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/close-program.md b/docs/close-program.md index 99c7df1a..3b18e522 100644 --- a/docs/close-program.md +++ b/docs/close-program.md @@ -121,4 +121,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/close-serenade.md b/docs/close-serenade.md index 2646b520..70533ae9 100644 --- a/docs/close-serenade.md +++ b/docs/close-serenade.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/close-snipping-tool.md b/docs/close-snipping-tool.md index 17c23e55..f663ec1a 100644 --- a/docs/close-snipping-tool.md +++ b/docs/close-snipping-tool.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/close-spotify.md b/docs/close-spotify.md index f5cacdc1..c9916169 100644 --- a/docs/close-spotify.md +++ b/docs/close-spotify.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/close-task-manager.md b/docs/close-task-manager.md index 6babf1b8..638b6fc8 100644 --- a/docs/close-task-manager.md +++ b/docs/close-task-manager.md @@ -48,4 +48,4 @@ tskill taskmgr exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/close-three-d-viewer.md b/docs/close-three-d-viewer.md index dd5c0c01..e784fafd 100644 --- a/docs/close-three-d-viewer.md +++ b/docs/close-three-d-viewer.md @@ -52,4 +52,4 @@ if ($lastExitCode -ne 0) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/close-thunderbird.md b/docs/close-thunderbird.md index 41fa25a2..d13dcd8d 100644 --- a/docs/close-thunderbird.md +++ b/docs/close-thunderbird.md @@ -52,4 +52,4 @@ if ($lastExitCode -ne 0) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/close-visual-studio.md b/docs/close-visual-studio.md index 34a593d9..bb624b26 100644 --- a/docs/close-visual-studio.md +++ b/docs/close-visual-studio.md @@ -52,4 +52,4 @@ if ($lastExitCode -ne 0) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/close-vlc.md b/docs/close-vlc.md index a12f6055..b2313d24 100644 --- a/docs/close-vlc.md +++ b/docs/close-vlc.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/close-windows-terminal.md b/docs/close-windows-terminal.md index a08ef1e3..99bd7db2 100644 --- a/docs/close-windows-terminal.md +++ b/docs/close-windows-terminal.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/configure-git.md b/docs/configure-git.md index a380a128..11db54f8 100644 --- a/docs/configure-git.md +++ b/docs/configure-git.md @@ -144,4 +144,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/connect-vpn.md b/docs/connect-vpn.md index 9f430b72..11872595 100644 --- a/docs/connect-vpn.md +++ b/docs/connect-vpn.md @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/convert-csv2txt.md b/docs/convert-csv2txt.md index 61428242..0b5fa884 100644 --- a/docs/convert-csv2txt.md +++ b/docs/convert-csv2txt.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/convert-dir27z.md b/docs/convert-dir27z.md index b762a365..0162b59f 100644 --- a/docs/convert-dir27z.md +++ b/docs/convert-dir27z.md @@ -93,4 +93,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/convert-dir2zip.md b/docs/convert-dir2zip.md index d2446d76..9366930f 100644 --- a/docs/convert-dir2zip.md +++ b/docs/convert-dir2zip.md @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/convert-docx2md.md b/docs/convert-docx2md.md index 8499b050..30d4c1cd 100644 --- a/docs/convert-docx2md.md +++ b/docs/convert-docx2md.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/convert-frames2mp4.md b/docs/convert-frames2mp4.md index 01a3a7bf..0669c088 100644 --- a/docs/convert-frames2mp4.md +++ b/docs/convert-frames2mp4.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/convert-history2ps1.md b/docs/convert-history2ps1.md index bf73de5d..af7ec075 100644 --- a/docs/convert-history2ps1.md +++ b/docs/convert-history2ps1.md @@ -80,4 +80,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/convert-image2ascii.md b/docs/convert-image2ascii.md index ce17b024..61303f6d 100644 --- a/docs/convert-image2ascii.md +++ b/docs/convert-image2ascii.md @@ -114,4 +114,4 @@ Script Content } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/convert-image2blurred-frames.md b/docs/convert-image2blurred-frames.md index 0aa746a4..0baf9a8f 100644 --- a/docs/convert-image2blurred-frames.md +++ b/docs/convert-image2blurred-frames.md @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:53)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/convert-image2pixelated-frames.md b/docs/convert-image2pixelated-frames.md index c4500ecc..252117c3 100644 --- a/docs/convert-image2pixelated-frames.md +++ b/docs/convert-image2pixelated-frames.md @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/convert-images2webp.md b/docs/convert-images2webp.md index a1ad412c..d5694422 100644 --- a/docs/convert-images2webp.md +++ b/docs/convert-images2webp.md @@ -287,4 +287,4 @@ Write-Host "Output directory: $OutputDir" Write-Host "=====================================" -ForegroundColor Green ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:35)* diff --git a/docs/convert-md2docx.md b/docs/convert-md2docx.md index 9433edaa..b815f5e6 100644 --- a/docs/convert-md2docx.md +++ b/docs/convert-md2docx.md @@ -22,4 +22,4 @@ Script Content gci -r -i *.md |foreach{$docx=$_.directoryname+"\"+$_.basename+".docx";pandoc -f markdown -s --citeproc $_.name -o $docx} ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/convert-md2html.md b/docs/convert-md2html.md index b7fc3d5f..3d3c0155 100644 --- a/docs/convert-md2html.md +++ b/docs/convert-md2html.md @@ -81,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/convert-md2pdf.md b/docs/convert-md2pdf.md index 4977a012..937c58dc 100644 --- a/docs/convert-md2pdf.md +++ b/docs/convert-md2pdf.md @@ -20,4 +20,4 @@ Script Content gci -r -i *.md |foreach{$pdf=$_.directoryname+"\"+$_.basename+".pdf";pandoc -f markdown -s --citeproc $_.name -o $pdf} ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/convert-mysql2csv.md b/docs/convert-mysql2csv.md index 934b4383..9e3aa816 100644 --- a/docs/convert-mysql2csv.md +++ b/docs/convert-mysql2csv.md @@ -124,4 +124,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/convert-ps2bat.md b/docs/convert-ps2bat.md index e75581e1..da065dc8 100644 --- a/docs/convert-ps2bat.md +++ b/docs/convert-ps2bat.md @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/convert-ps2md.md b/docs/convert-ps2md.md index c0dce5a9..5784c586 100644 --- a/docs/convert-ps2md.md +++ b/docs/convert-ps2md.md @@ -186,4 +186,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/convert-sql2csv.md b/docs/convert-sql2csv.md index 5aa5a890..61c03105 100644 --- a/docs/convert-sql2csv.md +++ b/docs/convert-sql2csv.md @@ -125,4 +125,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/convert-txt2wav.md b/docs/convert-txt2wav.md index 88a85985..b9f89421 100644 --- a/docs/convert-txt2wav.md +++ b/docs/convert-txt2wav.md @@ -86,4 +86,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/copy-photos-sorted.md b/docs/copy-photos-sorted.md index 378b2915..2f43b1d5 100644 --- a/docs/copy-photos-sorted.md +++ b/docs/copy-photos-sorted.md @@ -38,7 +38,8 @@ Example ```powershell PS> ./copy-photos-sorted.ps1 D:\iPhone\DCIM C:\MyPhotos ⏳ Copying IMG_20240903_134445.jpg to C:\MyPhotos\2024\09 SEP\... -βœ… Copied 1 photo to πŸ“‚C:\MyPhotos in 13s (0 skipped). +... +βœ… 123 photos copied to πŸ“‚C:\MyPhotos in 13s (0 skipped). ``` @@ -65,7 +66,8 @@ Script Content .EXAMPLE PS> ./copy-photos-sorted.ps1 D:\iPhone\DCIM C:\MyPhotos ⏳ Copying IMG_20240903_134445.jpg to C:\MyPhotos\2024\09 SEP\... - βœ… Copied 1 photo to πŸ“‚C:\MyPhotos in 13s (0 skipped). + ... + βœ… 123 photos copied to πŸ“‚C:\MyPhotos in 13s (0 skipped). .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -74,7 +76,7 @@ Script Content param([string]$sourceDir = "", [string]$targetDir = "") -function CopyFile { param([string]$sourcePath, [string]$targetDir, [int]$date, [string]$filename) +function CopyPhoto([string]$sourcePath, [string]$targetDir, [int]$date, [string]$filename) { [int]$year = $date / 10000 [int]$month = ($date / 100) % 100 $monthDir = switch($month) { @@ -120,22 +122,22 @@ try { $filename = (Get-Item "$file").Name if ("$filename" -like "IMG_*_*.jpg") { $array = $filename.split("_") - $skipped += CopyFile "$file" "$targetDir" $array[1] "$filename" + $skipped += CopyPhoto "$file" "$targetDir" $array[1] "$filename" } elseif ("$filename" -like "IMG-*-*.jpg") { $array = $filename.split("-") - $skipped += CopyFile "$file" "$targetDir" $array[1] "$filename" + $skipped += CopyPhoto "$file" "$targetDir" $array[1] "$filename" } elseif ("$filename" -like "PANO_*_*.jpg") { $array = $filename.split("_") - $skipped += CopyFile "$file" "$targetDir" $array[1] "$filename" + $skipped += CopyPhoto "$file" "$targetDir" $array[1] "$filename" } elseif ("$filename" -like "PANO-*-*.jpg") { $array = $filename.split("-") - $skipped += CopyFile "$file" "$targetDir" $array[1] "$filename" + $skipped += CopyPhoto "$file" "$targetDir" $array[1] "$filename" } elseif ("$filename" -like "SAVE_*_*.jpg") { $array = $filename.split("_") - $skipped += CopyFile "$file" "$targetDir" $array[1] "$filename" + $skipped += CopyPhoto "$file" "$targetDir" $array[1] "$filename" } elseif ("$filename" -like "PXL_*_*.jpg") { $array = $filename.split("_") - $skipped += CopyFile "$file" "$targetDir" $array[1] "$filename" + $skipped += CopyPhoto "$file" "$targetDir" $array[1] "$filename" } else { Write-Host "⏳ Skipping $filename with unknown filename format..." $skipped++ @@ -143,7 +145,7 @@ try { } [int]$elapsed = $stopWatch.Elapsed.TotalSeconds [int]$copied = $files.Count - $skipped - "βœ… Copied $copied photos to πŸ“‚$targetDir in $($elapsed)s ($skipped skipped)." + "βœ… $copied photos copied to πŸ“‚$targetDir in $($elapsed)s ($skipped skipped)." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -151,4 +153,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/copy-videos-sorted.md b/docs/copy-videos-sorted.md new file mode 100644 index 00000000..245d8328 --- /dev/null +++ b/docs/copy-videos-sorted.md @@ -0,0 +1,139 @@ +The *copy-videos-sorted.ps1* Script +=========================== + +This PowerShell script copies video files from to sorted by year and month. + +Parameters +---------- +```powershell +/Repos/PowerShell/scripts/copy-videos-sorted.ps1 [[-sourceDir] ] [[-targetDir] ] [] + +-sourceDir + Specifies the path to the source folder + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Aliases + Accept wildcard characters? false + +-targetDir + Specifies the path to the target folder + + Required? false + Position? 2 + Default value + Accept pipeline input? false + Aliases + Accept wildcard characters? false + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Example +------- +```powershell +PS> ./copy-videos-sorted.ps1 D:\iPhone\DCIM C:\MyVideos +... +βœ… 123 videos copied to πŸ“‚C:\MyVideos in 13s (0 skipped). + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Copy videos sorted by year and month +.DESCRIPTION + This PowerShell script copies video files from to sorted by year and month. +.PARAMETER sourceDir + Specifies the path to the source folder +.PARAMETER targetDir + Specifies the path to the target folder +.EXAMPLE + PS> ./copy-videos-sorted.ps1 D:\iPhone\DCIM C:\MyVideos + ... + βœ… 123 videos copied to πŸ“‚C:\MyVideos in 13s (0 skipped). +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +param([string]$sourceDir = "", [string]$targetDir = "") + +function CopyVideo([string]$sourcePath, [string]$targetDir, [int]$date, [string]$filename) { + [int]$year = $date / 10000 + [int]$month = ($date / 100) % 100 + $monthDir = switch($month) { + 1 {"01 JAN"} + 2 {"02 FEB"} + 3 {"03 MAR"} + 4 {"04 APR"} + 5 {"05 MAY"} + 6 {"06 JUN"} + 7 {"07 JUL"} + 8 {"08 AUG"} + 9 {"09 SEP"} + 10 {"10 OCT"} + 11 {"11 NOV"} + 12 {"12 DEC"} + } + $TargetPath = "$targetDir/$year/$monthDir/$filename" + if (Test-Path "$TargetPath" -pathType leaf) { + Write-Host "⏳ Skipping existing $targetDir\$year\$monthDir\$filename..." + return 1 + } + Write-Host "⏳ Copying $filename to $targetDir\$year\$monthDir\..." + New-Item -path "$targetDir" -name "$year" -itemType "directory" -force | out-null + New-Item -path "$targetDir/$year" -name "$monthDir" -itemType "directory" -force | out-null + Copy-Item "$sourcePath" "$TargetPath" -force + return 0 +} + +try { + if ($sourceDir -eq "") { $sourceDir = Read-Host "Enter file path to the source directory" } + if ($targetDir -eq "") { $targetDir = Read-Host "Enter file path to the target directory" } + $stopWatch = [system.diagnostics.stopWatch]::startNew() + + Write-Host "⏳ Checking source directory πŸ“‚$($sourceDir)..." + if (-not(Test-Path "$sourceDir" -pathType container)) { throw "Can't access source directory: $sourceDir" } + $files = (Get-ChildItem "$sourceDir\*.jpg" -attributes !Directory) + + Write-Host "⏳ Checking target directory πŸ“‚$($targetDir)..." + if (-not(Test-Path "$targetDir" -pathType container)) { throw "Can't access target directory: $targetDir" } + + [int]$skipped = 0 + foreach($file in $files) { + $filename = (Get-Item "$file").Name + if ("$filename" -like "VID_*_*.mp4") { + $array = $filename.split("_") + $skipped += CopyVideo "$file" "$targetDir" $array[1] "$filename" + } else { + Write-Host "⏳ Skipping $filename (no video format)..." + $skipped++ + } + } + [int]$elapsed = $stopWatch.Elapsed.TotalSeconds + [int]$copied = $files.Count - $skipped + "βœ… $copied videos copied to πŸ“‚$targetDir in $($elapsed)s ($skipped skipped)." + exit 0 # success +} catch { + "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + exit 1 +} +``` + +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/count-characters.md b/docs/count-characters.md index 98f8816b..d41bdb08 100644 --- a/docs/count-characters.md +++ b/docs/count-characters.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/count-lines.md b/docs/count-lines.md index 828503e6..d08d5d58 100644 --- a/docs/count-lines.md +++ b/docs/count-lines.md @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/decrypt-file.md b/docs/decrypt-file.md index 09b178a5..b3138f00 100644 --- a/docs/decrypt-file.md +++ b/docs/decrypt-file.md @@ -199,4 +199,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/disable-ipv6.md b/docs/disable-ipv6.md index 6bec375f..ad2eda10 100644 --- a/docs/disable-ipv6.md +++ b/docs/disable-ipv6.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/disconnect-vpn.md b/docs/disconnect-vpn.md index 093b02c2..d4959df0 100644 --- a/docs/disconnect-vpn.md +++ b/docs/disconnect-vpn.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/download-dir.md b/docs/download-dir.md index 670561a2..3712029a 100644 --- a/docs/download-dir.md +++ b/docs/download-dir.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/download-file.md b/docs/download-file.md index 37c11678..642e39d5 100644 --- a/docs/download-file.md +++ b/docs/download-file.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/edit.md b/docs/edit.md index 2b9f1cc5..b0872ac2 100644 --- a/docs/edit.md +++ b/docs/edit.md @@ -88,4 +88,4 @@ Write-Host "" exit 1 ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/enable-crash-dumps.md b/docs/enable-crash-dumps.md index 3d3d986d..230a06d1 100644 --- a/docs/enable-crash-dumps.md +++ b/docs/enable-crash-dumps.md @@ -330,4 +330,4 @@ Else exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/enable-god-mode.md b/docs/enable-god-mode.md index 8731c3ea..1e3f41e8 100644 --- a/docs/enable-god-mode.md +++ b/docs/enable-god-mode.md @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/enable-ipv6.md b/docs/enable-ipv6.md index 4d3aa6a2..e064f62c 100644 --- a/docs/enable-ipv6.md +++ b/docs/enable-ipv6.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/encrypt-file.md b/docs/encrypt-file.md index 4a38e2e9..e9df9903 100644 --- a/docs/encrypt-file.md +++ b/docs/encrypt-file.md @@ -184,4 +184,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/enter-chat.md b/docs/enter-chat.md index 387afc7c..11e1f3e9 100644 --- a/docs/enter-chat.md +++ b/docs/enter-chat.md @@ -125,4 +125,4 @@ function Get-ChatChannel } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/enter-host.md b/docs/enter-host.md index 9f105b37..2745c9df 100644 --- a/docs/enter-host.md +++ b/docs/enter-host.md @@ -95,4 +95,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/export-to-manuals.md b/docs/export-to-manuals.md index aad6484a..7698922d 100644 --- a/docs/export-to-manuals.md +++ b/docs/export-to-manuals.md @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/fetch-repo.md b/docs/fetch-repo.md index 0d13ed18..0fd0cb2d 100644 --- a/docs/fetch-repo.md +++ b/docs/fetch-repo.md @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/fetch-repos.md b/docs/fetch-repos.md index 4acb6d71..36741e33 100644 --- a/docs/fetch-repos.md +++ b/docs/fetch-repos.md @@ -99,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/firefox-installer.md b/docs/firefox-installer.md index e2c6432a..68881930 100644 --- a/docs/firefox-installer.md +++ b/docs/firefox-installer.md @@ -64,4 +64,4 @@ try { ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/get-md5.md b/docs/get-md5.md index 1290fee0..6c7a8d4f 100644 --- a/docs/get-md5.md +++ b/docs/get-md5.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/get-sha1.md b/docs/get-sha1.md index ef339487..a7a255e5 100644 --- a/docs/get-sha1.md +++ b/docs/get-sha1.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/get-sha256.md b/docs/get-sha256.md index cc6f50c3..a864e03a 100644 --- a/docs/get-sha256.md +++ b/docs/get-sha256.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/get-sha512.md b/docs/get-sha512.md index 0bb75f8a..ecc3dc92 100644 --- a/docs/get-sha512.md +++ b/docs/get-sha512.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/hello-world.md b/docs/hello-world.md index aee6812d..b11953ce 100644 --- a/docs/hello-world.md +++ b/docs/hello-world.md @@ -50,4 +50,4 @@ Write-Output "Hello World" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/hibernate.md b/docs/hibernate.md index 1a6b4400..dcac94d7 100644 --- a/docs/hibernate.md +++ b/docs/hibernate.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/import-vm.md b/docs/import-vm.md index bf12ec4a..78c02449 100644 --- a/docs/import-vm.md +++ b/docs/import-vm.md @@ -23,4 +23,4 @@ Start-VM $VMName exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/inspect-exe.md b/docs/inspect-exe.md index e17b7957..673b4531 100644 --- a/docs/inspect-exe.md +++ b/docs/inspect-exe.md @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/install-audacity.md b/docs/install-audacity.md index ebf2ec7a..f93aa763 100644 --- a/docs/install-audacity.md +++ b/docs/install-audacity.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/install-basic-apps.md b/docs/install-basic-apps.md index ba215c11..6115c4ec 100644 --- a/docs/install-basic-apps.md +++ b/docs/install-basic-apps.md @@ -93,4 +93,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/install-basic-snaps.md b/docs/install-basic-snaps.md index f8bcabc4..1f97ff84 100644 --- a/docs/install-basic-snaps.md +++ b/docs/install-basic-snaps.md @@ -81,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/install-calibre-server.md b/docs/install-calibre-server.md index a2194c4d..2e5dbda5 100644 --- a/docs/install-calibre-server.md +++ b/docs/install-calibre-server.md @@ -133,4 +133,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/install-chocolatey.md b/docs/install-chocolatey.md index 8e2e6af9..576a3040 100644 --- a/docs/install-chocolatey.md +++ b/docs/install-chocolatey.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/install-chrome.md b/docs/install-chrome.md index 91a2d477..f4f16baf 100644 --- a/docs/install-chrome.md +++ b/docs/install-chrome.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/install-crystal-disk-info.md b/docs/install-crystal-disk-info.md index 85dab702..0ce7a5ae 100644 --- a/docs/install-crystal-disk-info.md +++ b/docs/install-crystal-disk-info.md @@ -45,17 +45,19 @@ Script Content #> try { - "Installing CrystalDiskInfo, please wait..." + "⏳ Installing CrystalDiskInfo from Microsoft Store, please wait..." + $stopWatch = [system.diagnostics.stopwatch]::startNew() & winget install "CrystalDiskInfo" --source msstore --accept-package-agreements --accept-source-agreements - if ($lastExitCode -ne 0) { throw "'winget install' failed" } + if ($lastExitCode -ne 0) { throw "Can't install CrystalDiskInfo, is it already installed?" } - "CrystalDiskInfo installed successfully." + int]$elapsed = $stopWatch.Elapsed.TotalSeconds + "βœ… CrystalDiskInfo installed successfully in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/install-crystal-disk-mark.md b/docs/install-crystal-disk-mark.md index 496ffda8..a874a7cc 100644 --- a/docs/install-crystal-disk-mark.md +++ b/docs/install-crystal-disk-mark.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/install-discord.md b/docs/install-discord.md index ab13afa8..3cc5bb61 100644 --- a/docs/install-discord.md +++ b/docs/install-discord.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/install-edge.md b/docs/install-edge.md index de0cf4c3..f8d39cf2 100644 --- a/docs/install-edge.md +++ b/docs/install-edge.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/install-evcc.md b/docs/install-evcc.md index 666d2b02..6d923248 100644 --- a/docs/install-evcc.md +++ b/docs/install-evcc.md @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/install-firefox.md b/docs/install-firefox.md index 6b143fa9..83f5e245 100644 --- a/docs/install-firefox.md +++ b/docs/install-firefox.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/install-fonts.md b/docs/install-fonts.md index a7962e45..d3c96677 100644 --- a/docs/install-fonts.md +++ b/docs/install-fonts.md @@ -51,4 +51,4 @@ foreach ($font in $fontFiles) { Write-Output "Fonts have been installed successfully." ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/install-git-extensions.md b/docs/install-git-extensions.md index 28a75c50..967234a5 100644 --- a/docs/install-git-extensions.md +++ b/docs/install-git-extensions.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/install-git-for-windows.md b/docs/install-git-for-windows.md index 9c502306..20def539 100644 --- a/docs/install-git-for-windows.md +++ b/docs/install-git-for-windows.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/install-github-cli.md b/docs/install-github-cli.md index 579fced9..ff789336 100644 --- a/docs/install-github-cli.md +++ b/docs/install-github-cli.md @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/install-gitlab.md b/docs/install-gitlab.md index 410350d6..5b462416 100644 --- a/docs/install-gitlab.md +++ b/docs/install-gitlab.md @@ -31,4 +31,4 @@ Script Content ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/install-h2static.md b/docs/install-h2static.md index cffe5540..1a34fc03 100644 --- a/docs/install-h2static.md +++ b/docs/install-h2static.md @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/install-irfanview.md b/docs/install-irfanview.md index 53fabb4b..7ea4c760 100644 --- a/docs/install-irfanview.md +++ b/docs/install-irfanview.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/install-jenkins-agent.md b/docs/install-jenkins-agent.md index 3aef811d..0b4c3699 100644 --- a/docs/install-jenkins-agent.md +++ b/docs/install-jenkins-agent.md @@ -21,7 +21,7 @@ Parameters Required? false Position? 2 - Default value http://tux:8080 + Default value Accept pipeline input? false Aliases Accept wildcard characters? false @@ -71,27 +71,34 @@ Script Content Author: Markus Fleschutz | License: CC0 #> -param([string]$installDir = "/opt/jenkins-agent", [string]$jenkinsURL = "http://tux:8080", [string]$secretKey = "") +param([string]$installDir = "/opt/jenkins-agent", [string]$jenkinsURL = "", [string]$secretKey = "") try { - "`n⏳ (1/4) Installing Java Runtime Environment (JRE)..." + "`n⏳ (1/5) Asking for details..." + if ($jenkinsURL -eq "") { $jenkinsURL = Read-Host "Enter the URL to the Jenkins controller" } + if ($secretKey -eq "") { $secretKey = Read-Host "Enter the secret key" } + + $stopWatch = [system.diagnostics.stopwatch]::startNew() + "`n⏳ (2/5) Installing Java Runtime Environment (JRE)..." & sudo apt install default-jre - "`n⏳ (2/4) Creating installation folder at: $installDir ... (if non-existent)" + "`n⏳ (3/5) Creating installation folder at: $installDir ... (if non-existent)" & mkdir $installDir & cd $installDir - "`n⏳ (3/4) Loading current .JAR program from Jenkins controller..." + "`n⏳ (4/5) Downloading Jenkins agent .JAR program from Jenkins controller..." & curl -sO $jenkinsURL/jnlpJars/agent.jar - "`n⏳ (4/4) Starting Jenkins agent ..." - & java -jar agent.jar -url $jenkinsURL -secret $secretKey -name pi -webSocket -workDir $installDir + "`n⏳ (5/5) Starting Jenkins agent ..." + & nohup java -jar agent.jar -url $jenkinsURL -secret $secretKey -name pi -webSocket -workDir $installDir & + [int]$elapsed = $stopWatch.Elapsed.TotalSeconds + "βœ… Jenkins Agent installed successfully in $($elapsed)s." exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" - exit 1 + "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/install-knot-resolver.md b/docs/install-knot-resolver.md index 1824aacb..ff8e3d17 100644 --- a/docs/install-knot-resolver.md +++ b/docs/install-knot-resolver.md @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/install-microsoft-teams.md b/docs/install-microsoft-teams.md index 8e89c826..0fd90477 100644 --- a/docs/install-microsoft-teams.md +++ b/docs/install-microsoft-teams.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/install-mini-dlna.md b/docs/install-mini-dlna.md index 831e2469..20574528 100644 --- a/docs/install-mini-dlna.md +++ b/docs/install-mini-dlna.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/install-netflix.md b/docs/install-netflix.md index 045a06bb..a575b336 100644 --- a/docs/install-netflix.md +++ b/docs/install-netflix.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/install-obs-studio.md b/docs/install-obs-studio.md index 1f4ca046..8fa99f83 100644 --- a/docs/install-obs-studio.md +++ b/docs/install-obs-studio.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/install-octoprint.md b/docs/install-octoprint.md index 94755962..ff8ac210 100644 --- a/docs/install-octoprint.md +++ b/docs/install-octoprint.md @@ -32,4 +32,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/install-one-calendar.md b/docs/install-one-calendar.md index 2e4c4dc4..d2d8946b 100644 --- a/docs/install-one-calendar.md +++ b/docs/install-one-calendar.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/install-opera-browser.md b/docs/install-opera-browser.md index bf455a40..7c897f6b 100644 --- a/docs/install-opera-browser.md +++ b/docs/install-opera-browser.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/install-opera-gx.md b/docs/install-opera-gx.md index 70b6e43e..3a61e5a7 100644 --- a/docs/install-opera-gx.md +++ b/docs/install-opera-gx.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/install-paint-3d.md b/docs/install-paint-3d.md index ad203771..effd1c9f 100644 --- a/docs/install-paint-3d.md +++ b/docs/install-paint-3d.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/install-power-toys.md b/docs/install-power-toys.md index ff07ce5a..b9568189 100644 --- a/docs/install-power-toys.md +++ b/docs/install-power-toys.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/install-powershell.md b/docs/install-powershell.md index 739fffea..1d9b83e4 100644 --- a/docs/install-powershell.md +++ b/docs/install-powershell.md @@ -660,4 +660,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/install-rufus.md b/docs/install-rufus.md index 4a7e283f..e5430010 100644 --- a/docs/install-rufus.md +++ b/docs/install-rufus.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/install-salesforce-cli.md b/docs/install-salesforce-cli.md index 1cdd2113..b196d855 100644 --- a/docs/install-salesforce-cli.md +++ b/docs/install-salesforce-cli.md @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/install-scoop.md b/docs/install-scoop.md index e732d2b8..aab40fb0 100644 --- a/docs/install-scoop.md +++ b/docs/install-scoop.md @@ -20,4 +20,4 @@ Script Content Invoke-RestMethod -Uri https://get.scoop.sh | Invoke-Expression ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/install-signal-cli.md b/docs/install-signal-cli.md index 1267c0f4..921114ae 100644 --- a/docs/install-signal-cli.md +++ b/docs/install-signal-cli.md @@ -91,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/install-skype.md b/docs/install-skype.md index 34fd7bd8..91934895 100644 --- a/docs/install-skype.md +++ b/docs/install-skype.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/install-spotify.md b/docs/install-spotify.md index 2e4d4182..d45951cb 100644 --- a/docs/install-spotify.md +++ b/docs/install-spotify.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/install-ssh-client.md b/docs/install-ssh-client.md index 928c7462..d053a6d8 100644 --- a/docs/install-ssh-client.md +++ b/docs/install-ssh-client.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/install-ssh-server.md b/docs/install-ssh-server.md index 74be9a07..4d0eb074 100644 --- a/docs/install-ssh-server.md +++ b/docs/install-ssh-server.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:36)* diff --git a/docs/install-syncthing.md b/docs/install-syncthing.md new file mode 100644 index 00000000..f77105b8 --- /dev/null +++ b/docs/install-syncthing.md @@ -0,0 +1,79 @@ +The *install-syncthing.ps1* Script +=========================== + +This PowerShell script installs Syncthing on your computer. +Syncthing is a continuous file synchronization program. See https://syncthing.net for details. + +Parameters +---------- +```powershell +/Repos/PowerShell/scripts/install-syncthing.ps1 [] + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Example +------- +```powershell +PS> ./install-syncthing.ps1 +⏳ Installing Syncthing from WinGet... +... + +``` + +Notes +----- +https://github.com/fleschutz/PowerShell + +Related Links +------------- +navigationLink +-------------- +{@{uri=Author: Markus Fleschutz | License: CC0}, @{linkText=Author: Markus Fleschutz | License: CC0}} + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Installs Syncthing +.DESCRIPTION + This PowerShell script installs Syncthing on your computer. + Syncthing is a continuous file synchronization program. See https://syncthing.net for details. +.EXAMPLE + PS> ./install-syncthing.ps1 + ⏳ Installing Syncthing from WinGet... + ... +.LINK + Author: Markus Fleschutz | License: CC0 +.NOTES + https://github.com/fleschutz/PowerShell +#> + +try { + $stopWatch = [system.diagnostics.stopwatch]::startNew() + + if ($IsLinux) { + "⏳ Installing Syncthing..." + & sudo apt install syncthing + } else { + "⏳ Installing Syncthing from WinGet..." + & winget install --id Syncthing.Syncthing --accept-package-agreements --accept-source-agreements + + "⏳ Starting Syncthing as daemon..." + Start-Process -NoNewWindow "$env:LOCALAPPDATA\Microsoft\WinGet\Links\syncthing.exe" + } + [int]$elapsed = $stopWatch.Elapsed.TotalSeconds + "βœ… Syncthing installed successfully in $($elapsed)s." + " Web interface: http://127.0.0.1:8384 (open by: )" + " Sync folder at: ~/Sync/ (execute: cd-sync.ps1)" + exit 0 # success +} catch { + "⚠️ Error: $($Error[0])" + exit 1 +} +``` + +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/install-thunderbird.md b/docs/install-thunderbird.md index 6d52b5e5..04f03161 100644 --- a/docs/install-thunderbird.md +++ b/docs/install-thunderbird.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/install-twitter.md b/docs/install-twitter.md index 7dae03ec..f5657eea 100644 --- a/docs/install-twitter.md +++ b/docs/install-twitter.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/install-unbound-server.md b/docs/install-unbound-server.md index 5493cf20..f3aadb19 100644 --- a/docs/install-unbound-server.md +++ b/docs/install-unbound-server.md @@ -99,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/install-updates.md b/docs/install-updates.md index 596fa947..7b332168 100644 --- a/docs/install-updates.md +++ b/docs/install-updates.md @@ -19,13 +19,12 @@ Example ```powershell PS> ./install-updates.ps1 ⏳ (1/2) Checking update requirements... -βœ… Drive C: has 441 GB free (56% of 1TB used) -βœ… Swap space has 1GB free (2% of 1GB used) -βœ… No pending system reboot +βœ… Drive C: uses 56% of 1TB: 441GB free +βœ… Swap space uses 22% of 4GB: 3GB free -⏳ (2/2) Updating Microsoft Store apps... +⏳ (2/2) Checking Microsoft Store for updates... ... ``` @@ -50,11 +49,10 @@ Script Content .EXAMPLE PS> ./install-updates.ps1 ⏳ (1/2) Checking update requirements... - βœ… Drive C: has 441 GB free (56% of 1TB used) - βœ… Swap space has 1GB free (2% of 1GB used) - βœ… No pending system reboot + βœ… Drive C: uses 56% of 1TB: 441GB free + βœ… Swap space uses 22% of 4GB: 3GB free - ⏳ (2/2) Updating Microsoft Store apps... + ⏳ (2/2) Checking Microsoft Store for updates... ... .LINK https://github.com/fleschutz/PowerShell @@ -71,7 +69,6 @@ try { & "$PSScriptRoot/check-smart-devices.ps1" & "$PSScriptRoot/check-drive-space.ps1" / & "$PSScriptRoot/check-swap-space.ps1" - & "$PSScriptRoot/check-pending-reboot.ps1" Start-Sleep -seconds 3 "" "⏳ (2/5) Querying latest package information..." @@ -95,24 +92,24 @@ try { & "$PSScriptRoot/check-smart-devices.ps1" & "$PSScriptRoot/check-drive-space.ps1" C & "$PSScriptRoot/check-swap-space.ps1" - & "$PSScriptRoot/check-pending-reboot.ps1" Start-Sleep -seconds 3 "" - "⏳ (2/4) Updating Microsoft Store apps..." + "⏳ (2/4) Checking Microsoft Store for updates..." if (Get-Command winget -errorAction SilentlyContinue) { & winget upgrade --all --source=msstore --include-unknown } "" - "⏳ (3/4) Updating WinGet Store apps..." + "⏳ (3/4) Checking WinGet for updates..." if (Get-Command winget -errorAction SilentlyContinue) { & winget upgrade --all --source=winget --include-unknown } "" - "⏳ (4/4) Updating Chocolatey packages..." + "⏳ (4/4) Checking Chocolatey for updates..." if (Get-Command choco -errorAction SilentlyContinue) { & choco upgrade all -y } } + & "$PSScriptRoot/check-pending-reboot.ps1" [int]$elapsed = $stopWatch.Elapsed.TotalSeconds "βœ… Updates installed in $($elapsed)s." exit 0 # success @@ -122,4 +119,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/install-visual-studio-code.md b/docs/install-visual-studio-code.md index 970acdaa..0b3e36d7 100644 --- a/docs/install-visual-studio-code.md +++ b/docs/install-visual-studio-code.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/install-vivaldi.md b/docs/install-vivaldi.md index 478519af..2bae8d17 100644 --- a/docs/install-vivaldi.md +++ b/docs/install-vivaldi.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/install-vlc.md b/docs/install-vlc.md index ae79529f..6430d578 100644 --- a/docs/install-vlc.md +++ b/docs/install-vlc.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/install-windows-terminal.md b/docs/install-windows-terminal.md index aff59711..41c51a93 100644 --- a/docs/install-windows-terminal.md +++ b/docs/install-windows-terminal.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/install-wsl.md b/docs/install-wsl.md index 8946acb2..d213d991 100644 --- a/docs/install-wsl.md +++ b/docs/install-wsl.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/install-zoom.md b/docs/install-zoom.md index b64bfade..c124fd66 100644 --- a/docs/install-zoom.md +++ b/docs/install-zoom.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/introduce-powershell.md b/docs/introduce-powershell.md index a1e54b8b..08178934 100644 --- a/docs/introduce-powershell.md +++ b/docs/introduce-powershell.md @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:54)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/kill-process.md b/docs/kill-process.md new file mode 100644 index 00000000..ad5a980c --- /dev/null +++ b/docs/kill-process.md @@ -0,0 +1,57 @@ +The *kill-process.ps1* Script +=========================== + +kill-process.ps1 [[-ProcessName] ] [] + + +Parameters +---------- +```powershell + + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Kills all local processes matching the given name +.DESCRIPTION + ← enter a detailed description of the script here +.PARAMETER + ← enter the description of a parameter here (repeat the .PARAMETER for each parameter) +.EXAMPLE + ← enter a sample command that uses the script, optionally followed by sample output and a description (repeat the .EXAMPLE for each example) +.NOTES + Author: ← enter full name here + License: ← enter license here +.LINK + ← enter URL to additional information here +#> + +[CmdletBinding()] +param( +# [Parameter(Mandatory,ParameterSetName='ByProcessName')] + [string]$ProcessName = $(Read-Host -Prompt 'Enter the process name')) + +function KillProcesses { + Write-Host -BackgroundColor Yellow -ForegroundColor Red "Process to kill: $ProcessName" + Get-Process | Where-Object -FilterScript {$_.processname -eq $ProcessName} | Select-Object id | Stop-Process +} + + +try { + KillProcesses -ProcessName $processName + "βœ”οΈ Done." + exit 0 # success +} catch { + "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + exit 1 +} +``` + +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-aliases.md b/docs/list-aliases.md index f4c67803..73d4eb1d 100644 --- a/docs/list-aliases.md +++ b/docs/list-aliases.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-anagrams.md b/docs/list-anagrams.md index 37084a18..d04d4f22 100644 --- a/docs/list-anagrams.md +++ b/docs/list-anagrams.md @@ -122,4 +122,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-apps.md b/docs/list-apps.md index 45682341..558abcff 100644 --- a/docs/list-apps.md +++ b/docs/list-apps.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-ascii-table.md b/docs/list-ascii-table.md index b37402c7..f70cd501 100644 --- a/docs/list-ascii-table.md +++ b/docs/list-ascii-table.md @@ -120,4 +120,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-automatic-variables.md b/docs/list-automatic-variables.md index 6f93e10c..fc655e57 100644 --- a/docs/list-automatic-variables.md +++ b/docs/list-automatic-variables.md @@ -100,4 +100,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-battery-status.md b/docs/list-battery-status.md index 68e9e5d1..26623284 100644 --- a/docs/list-battery-status.md +++ b/docs/list-battery-status.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-bios.md b/docs/list-bios.md index c20dcc03..8ca4a363 100644 --- a/docs/list-bios.md +++ b/docs/list-bios.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-bluetooth-devices.md b/docs/list-bluetooth-devices.md index eb73d64e..bd5a4412 100644 --- a/docs/list-bluetooth-devices.md +++ b/docs/list-bluetooth-devices.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-branches.md b/docs/list-branches.md index 8ce9fd37..c3edb066 100644 --- a/docs/list-branches.md +++ b/docs/list-branches.md @@ -109,4 +109,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-calendar.md b/docs/list-calendar.md index 4e735552..4dcd0073 100644 --- a/docs/list-calendar.md +++ b/docs/list-calendar.md @@ -247,4 +247,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-cheat-sheet.md b/docs/list-cheat-sheet.md index a6b87d42..cb0642d1 100644 --- a/docs/list-cheat-sheet.md +++ b/docs/list-cheat-sheet.md @@ -75,4 +75,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-city-weather.md b/docs/list-city-weather.md index e7cbee87..25a23759 100644 --- a/docs/list-city-weather.md +++ b/docs/list-city-weather.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-cli-tools.md b/docs/list-cli-tools.md index c31cbae5..eaf10055 100644 --- a/docs/list-cli-tools.md +++ b/docs/list-cli-tools.md @@ -159,6 +159,7 @@ function List-CLI-Tools { ListTool df "--version" ListTool diff "--version" ListTool diff3 "--version" + ListTool difft "--version" ListTool dir "--version" ListTool dircolors "--version" ListTool dirname "--version" @@ -170,6 +171,7 @@ function List-CLI-Tools { ListTool driverquery "" ListTool du "--version" ListTool echo "--version" + ListTool edit.exe "--version" ListTool egrep "--version" ListTool emacs "--version" ListTool env "--version" @@ -307,6 +309,7 @@ function List-CLI-Tools { ListTool strings "--version" ListTool strip "--version" ListTool sudo "--version" + ListTool syncthing "--version" ListTool systeminfo "" ListTool tail "--version" ListTool tar "--version" @@ -365,4 +368,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-clipboard.md b/docs/list-clipboard.md index db545b1c..c870d8f2 100644 --- a/docs/list-clipboard.md +++ b/docs/list-clipboard.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-cmdlets.md b/docs/list-cmdlets.md index 7331e14d..0ae35971 100644 --- a/docs/list-cmdlets.md +++ b/docs/list-cmdlets.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-coffee-prices.md b/docs/list-coffee-prices.md index e935204d..9b469dfc 100644 --- a/docs/list-coffee-prices.md +++ b/docs/list-coffee-prices.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-commit-stats.md b/docs/list-commit-stats.md index 84ec7642..2411c626 100644 --- a/docs/list-commit-stats.md +++ b/docs/list-commit-stats.md @@ -94,4 +94,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-commits.md b/docs/list-commits.md index 407974d5..33a57244 100644 --- a/docs/list-commits.md +++ b/docs/list-commits.md @@ -122,4 +122,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-console-colors.md b/docs/list-console-colors.md index 45b82004..4a4f4c80 100644 --- a/docs/list-console-colors.md +++ b/docs/list-console-colors.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-countries.md b/docs/list-countries.md index 2029b097..b16d78be 100644 --- a/docs/list-countries.md +++ b/docs/list-countries.md @@ -52,4 +52,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-cpu.md b/docs/list-cpu.md index f819f61b..fe6ad8be 100644 --- a/docs/list-cpu.md +++ b/docs/list-cpu.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-crypto-rates.md b/docs/list-crypto-rates.md index bd7fc0a6..3101749e 100644 --- a/docs/list-crypto-rates.md +++ b/docs/list-crypto-rates.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-defender-settings.md b/docs/list-defender-settings.md index dfd30086..4ca4445a 100644 --- a/docs/list-defender-settings.md +++ b/docs/list-defender-settings.md @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-dir-tree.md b/docs/list-dir-tree.md index a4c17958..f5c89d2d 100644 --- a/docs/list-dir-tree.md +++ b/docs/list-dir-tree.md @@ -126,4 +126,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-dns-servers.md b/docs/list-dns-servers.md index 7d4dec1d..56d66531 100644 --- a/docs/list-dns-servers.md +++ b/docs/list-dns-servers.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-drives.md b/docs/list-drives.md index 4f1bd915..2814d35c 100644 --- a/docs/list-drives.md +++ b/docs/list-drives.md @@ -20,9 +20,9 @@ PS> ./list-drives.ps1 -Name Root Used (GB) Free (GB) ----- ---- --------- --------- -C C:\ 6648,1 744,2 +DriveLetter FriendlyName FileSystemType DriveType HealthStatus OperationalStatus SizeRemaining Size +----------- ------------ -------------- --------- ------------ ----------------- ------------- ---- +C SSD NTFS Fixed Healthy OK 449.65 GB 930.43 GB ``` @@ -45,9 +45,9 @@ Script Content .EXAMPLE PS> ./list-drives.ps1 - Name Root Used (GB) Free (GB) - ---- ---- --------- --------- - C C:\ 6648,1 744,2 + DriveLetter FriendlyName FileSystemType DriveType HealthStatus OperationalStatus SizeRemaining Size + ----------- ------------ -------------- --------- ------------ ----------------- ------------- ---- + C SSD NTFS Fixed Healthy OK 449.65 GB 930.43 GB .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -55,12 +55,12 @@ Script Content #> try { - Get-PSDrive -PSProvider FileSystem | format-table -property Name,Root,@{n="Used (GB)";e={[math]::Round($_.Used/1GB,1)}},@{n="Free (GB)";e={[math]::Round($_.Free/1GB,1)}} + Get-Volume exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-earthquakes.md b/docs/list-earthquakes.md index f396aa0e..dfeec53c 100644 --- a/docs/list-earthquakes.md +++ b/docs/list-earthquakes.md @@ -94,4 +94,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-emojis.md b/docs/list-emojis.md index c336b3b4..261d94ea 100644 --- a/docs/list-emojis.md +++ b/docs/list-emojis.md @@ -72,4 +72,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-empty-dirs.md b/docs/list-empty-dirs.md index 286726e6..2413357d 100644 --- a/docs/list-empty-dirs.md +++ b/docs/list-empty-dirs.md @@ -28,7 +28,7 @@ Example ```powershell PS> ./list-empty-dirs.ps1 C:\Windows ... -βœ… Found 39972 empty directories within πŸ“‚C:\Windows in 222 sec +βœ… Found 39972 empty directories within πŸ“‚C:\Windows in 222s. ``` @@ -45,7 +45,7 @@ Script Content ```powershell <# .SYNOPSIS - Lists all empty directories in a directory tree + Lists empty directories in a directory tree .DESCRIPTION This PowerShell script scans a directory tree and lists all empty directories. .PARAMETER path @@ -53,7 +53,7 @@ Script Content .EXAMPLE PS> ./list-empty-dirs.ps1 C:\Windows ... - βœ… Found 39972 empty directories within πŸ“‚C:\Windows in 222 sec + βœ… Found 39972 empty directories within πŸ“‚C:\Windows in 222s. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -73,8 +73,8 @@ try { $count++ } Write-Progress -completed " " - [int]$Elapsed = $stopWatch.Elapsed.TotalSeconds - "βœ… Found $count empty directories within πŸ“‚$path in $elapsed sec" + [int]$elapsed = $stopWatch.Elapsed.TotalSeconds + "βœ… Found $count empty directories within πŸ“‚$path in $($elapsed)s." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-empty-files.md b/docs/list-empty-files.md index a6e18c80..8bd58add 100644 --- a/docs/list-empty-files.md +++ b/docs/list-empty-files.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-encrypted-files.md b/docs/list-encrypted-files.md index 247bd60f..2ed69395 100644 --- a/docs/list-encrypted-files.md +++ b/docs/list-encrypted-files.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-environment-variables.md b/docs/list-environment-variables.md index 5a25a590..3ae5be61 100644 --- a/docs/list-environment-variables.md +++ b/docs/list-environment-variables.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-error-types.md b/docs/list-error-types.md index 98cc409f..79b22460 100644 --- a/docs/list-error-types.md +++ b/docs/list-error-types.md @@ -26,4 +26,4 @@ Script Content } | Select BaseType,Name,FullName ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-exchange-rates.md b/docs/list-exchange-rates.md index 4c2c6586..cc33e42f 100644 --- a/docs/list-exchange-rates.md +++ b/docs/list-exchange-rates.md @@ -96,4 +96,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-executables.md b/docs/list-executables.md index 2fc840ef..684f067a 100644 --- a/docs/list-executables.md +++ b/docs/list-executables.md @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-fibonacci.md b/docs/list-fibonacci.md index 33519f01..551d05c3 100644 --- a/docs/list-fibonacci.md +++ b/docs/list-fibonacci.md @@ -43,4 +43,4 @@ foreach ($i in 0..100) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-files.md b/docs/list-files.md index ce5964a5..c6620f71 100644 --- a/docs/list-files.md +++ b/docs/list-files.md @@ -69,4 +69,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-folder.md b/docs/list-folder.md index b518ec87..59393f82 100644 --- a/docs/list-folder.md +++ b/docs/list-folder.md @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-fritzbox-calls.md b/docs/list-fritzbox-calls.md index a6e3b539..42b24b99 100644 --- a/docs/list-fritzbox-calls.md +++ b/docs/list-fritzbox-calls.md @@ -155,4 +155,4 @@ echo $Result exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-fritzbox-devices.md b/docs/list-fritzbox-devices.md index 399eff31..84623c06 100644 --- a/docs/list-fritzbox-devices.md +++ b/docs/list-fritzbox-devices.md @@ -107,4 +107,4 @@ $HostTable | format-table -property Active,IPAddress,MACAddress,HostName,Interfa exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-headlines.md b/docs/list-headlines.md index 6aa99589..44b61585 100644 --- a/docs/list-headlines.md +++ b/docs/list-headlines.md @@ -91,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-hidden-files.md b/docs/list-hidden-files.md index ea2ea866..46f0caee 100644 --- a/docs/list-hidden-files.md +++ b/docs/list-hidden-files.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-installed-hotfixes.md b/docs/list-installed-hotfixes.md index feb941e2..81012065 100644 --- a/docs/list-installed-hotfixes.md +++ b/docs/list-installed-hotfixes.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-installed-languages.md b/docs/list-installed-languages.md index a404daba..86d55e01 100644 --- a/docs/list-installed-languages.md +++ b/docs/list-installed-languages.md @@ -50,4 +50,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-installed-scripts.md b/docs/list-installed-scripts.md index 64e78e18..ff29de7b 100644 --- a/docs/list-installed-scripts.md +++ b/docs/list-installed-scripts.md @@ -48,4 +48,4 @@ Get-InstalledScript exit # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-installed-software.md b/docs/list-installed-software.md index c8cd20f6..38853b11 100644 --- a/docs/list-installed-software.md +++ b/docs/list-installed-software.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-internet-ip.md b/docs/list-internet-ip.md index df3c7b51..8042fc2e 100644 --- a/docs/list-internet-ip.md +++ b/docs/list-internet-ip.md @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-ipv6.md b/docs/list-ipv6.md index 14f09ae6..7abdec92 100644 --- a/docs/list-ipv6.md +++ b/docs/list-ipv6.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-latest-tag.md b/docs/list-latest-tag.md index 9f2122fa..264ecdda 100644 --- a/docs/list-latest-tag.md +++ b/docs/list-latest-tag.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-latest-tags.md b/docs/list-latest-tags.md index 8e2dc243..12ce8546 100644 --- a/docs/list-latest-tags.md +++ b/docs/list-latest-tags.md @@ -86,4 +86,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-local-ip.md b/docs/list-local-ip.md index 00caae41..07a88f2c 100644 --- a/docs/list-local-ip.md +++ b/docs/list-local-ip.md @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:37)* diff --git a/docs/list-mDNS.md b/docs/list-mDNS.md index 4a480e64..72817c21 100644 --- a/docs/list-mDNS.md +++ b/docs/list-mDNS.md @@ -21,4 +21,4 @@ Get-NetUDPEndpoint -localPort 5353 | Select-Object LocalAddress,LocalPort,Owning exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-memos.md b/docs/list-memos.md index 0968a96d..11199555 100644 --- a/docs/list-memos.md +++ b/docs/list-memos.md @@ -68,4 +68,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-mysql-tables.md b/docs/list-mysql-tables.md index 97e61d1a..100b0fbd 100644 --- a/docs/list-mysql-tables.md +++ b/docs/list-mysql-tables.md @@ -94,4 +94,4 @@ $result = Invoke-MySqlQuery -ConnectionString "server=$server; database=$databa $result | Export-Csv $csvfilepath -NoTypeInformation ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-network-connections.md b/docs/list-network-connections.md index 2aa4301e..999ea96d 100644 --- a/docs/list-network-connections.md +++ b/docs/list-network-connections.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-network-neighbors.md b/docs/list-network-neighbors.md index ac078704..ef627c6d 100644 --- a/docs/list-network-neighbors.md +++ b/docs/list-network-neighbors.md @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-network-routes.md b/docs/list-network-routes.md index 0fafb0d2..be68960c 100644 --- a/docs/list-network-routes.md +++ b/docs/list-network-routes.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-network-shares.md b/docs/list-network-shares.md index a876b9e7..37da8611 100644 --- a/docs/list-network-shares.md +++ b/docs/list-network-shares.md @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-news.md b/docs/list-news.md index d0ec67ce..09669628 100644 --- a/docs/list-news.md +++ b/docs/list-news.md @@ -114,4 +114,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-nic.md b/docs/list-nic.md index 79f4b099..1bb6ca3c 100644 --- a/docs/list-nic.md +++ b/docs/list-nic.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-nina-warnings.md b/docs/list-nina-warnings.md index 7d8ed17e..a4c2d7c3 100644 --- a/docs/list-nina-warnings.md +++ b/docs/list-nina-warnings.md @@ -105,4 +105,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-old-branches.md b/docs/list-old-branches.md index 5a694771..361f7887 100644 --- a/docs/list-old-branches.md +++ b/docs/list-old-branches.md @@ -86,4 +86,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-os-releases.md b/docs/list-os-releases.md index d4121641..1088ebdb 100644 --- a/docs/list-os-releases.md +++ b/docs/list-os-releases.md @@ -66,4 +66,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-os-updates.md b/docs/list-os-updates.md index af783507..51edede1 100644 --- a/docs/list-os-updates.md +++ b/docs/list-os-updates.md @@ -91,4 +91,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-os.md b/docs/list-os.md index cbb69943..b0c13d40 100644 --- a/docs/list-os.md +++ b/docs/list-os.md @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-outlook-inbox.md b/docs/list-outlook-inbox.md index bdd2f24b..b71a25fc 100644 --- a/docs/list-outlook-inbox.md +++ b/docs/list-outlook-inbox.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-outlook-sent.md b/docs/list-outlook-sent.md index 44e65073..be8b284e 100644 --- a/docs/list-outlook-sent.md +++ b/docs/list-outlook-sent.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-passwords.md b/docs/list-passwords.md index 3c79360a..acf42f45 100644 --- a/docs/list-passwords.md +++ b/docs/list-passwords.md @@ -114,4 +114,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-pins.md b/docs/list-pins.md index 76368a83..f5f453c2 100644 --- a/docs/list-pins.md +++ b/docs/list-pins.md @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-power-schemes.md b/docs/list-power-schemes.md index 9d03b46e..4bc909d3 100644 --- a/docs/list-power-schemes.md +++ b/docs/list-power-schemes.md @@ -21,4 +21,4 @@ powercfg /list exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-powershell-modules.md b/docs/list-powershell-modules.md index 510447e0..a16cd23c 100644 --- a/docs/list-powershell-modules.md +++ b/docs/list-powershell-modules.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:55)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-powershell-profiles.md b/docs/list-powershell-profiles.md index 3f57e9da..c0935348 100644 --- a/docs/list-powershell-profiles.md +++ b/docs/list-powershell-profiles.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-powershell-verbs.md b/docs/list-powershell-verbs.md index 87751475..e5d44599 100644 --- a/docs/list-powershell-verbs.md +++ b/docs/list-powershell-verbs.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-print-jobs.md b/docs/list-print-jobs.md index 7f4a8fb8..55c0de3c 100644 --- a/docs/list-print-jobs.md +++ b/docs/list-print-jobs.md @@ -87,4 +87,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-printers.md b/docs/list-printers.md index 2c1b6736..53ce0711 100644 --- a/docs/list-printers.md +++ b/docs/list-printers.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-processes.md b/docs/list-processes.md index 34fe2c4c..5b5677a9 100644 --- a/docs/list-processes.md +++ b/docs/list-processes.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-pull-requests.md b/docs/list-pull-requests.md index 01f5efb8..8acf4407 100644 --- a/docs/list-pull-requests.md +++ b/docs/list-pull-requests.md @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-ram.md b/docs/list-ram.md index 1d28aaad..e5c7e9c7 100644 --- a/docs/list-ram.md +++ b/docs/list-ram.md @@ -63,4 +63,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-read-only-files.md b/docs/list-read-only-files.md index 5989b3f8..c953bedb 100644 --- a/docs/list-read-only-files.md +++ b/docs/list-read-only-files.md @@ -28,7 +28,7 @@ Example ```powershell PS> ./list-read-only-files.ps1 C:\Windows ... -βœ… Found 107 read-only files within πŸ“‚C:\Windows in 50 sec +βœ… Found 107 read-only files within πŸ“‚C:\Windows in 50s. ``` @@ -45,7 +45,7 @@ Script Content ```powershell <# .SYNOPSIS - Lists all read-only files in a directory tree + Lists read-only files in a directory tree .DESCRIPTION This PowerShell script scans a directory tree and lists all read-only files. .PARAMETER path @@ -53,7 +53,7 @@ Script Content .EXAMPLE PS> ./list-read-only-files.ps1 C:\Windows ... - βœ… Found 107 read-only files within πŸ“‚C:\Windows in 50 sec + βœ… Found 107 read-only files within πŸ“‚C:\Windows in 50s. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -74,7 +74,7 @@ try { } Write-Progress -completed " " [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "βœ… Found $count read-only files within πŸ“‚$path in $elapsed sec" + "βœ… Found $count read-only files within πŸ“‚$path in $($elapsed)s." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-recycle-bin.md b/docs/list-recycle-bin.md index 8994c916..9ab2e906 100644 --- a/docs/list-recycle-bin.md +++ b/docs/list-recycle-bin.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-repos.md b/docs/list-repos.md index d117b660..1475642c 100644 --- a/docs/list-repos.md +++ b/docs/list-repos.md @@ -104,4 +104,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-scripts.md b/docs/list-scripts.md index cdf0d664..46b08c28 100644 --- a/docs/list-scripts.md +++ b/docs/list-scripts.md @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-scsi-devices.md b/docs/list-scsi-devices.md index 582d23f0..252f6fbd 100644 --- a/docs/list-scsi-devices.md +++ b/docs/list-scsi-devices.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-services.md b/docs/list-services.md index 1b686e3e..fa88ca93 100644 --- a/docs/list-services.md +++ b/docs/list-services.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-special-folders.md b/docs/list-special-folders.md index 39fd6832..8d7e4e05 100644 --- a/docs/list-special-folders.md +++ b/docs/list-special-folders.md @@ -105,4 +105,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-sql-tables.md b/docs/list-sql-tables.md index 8219504f..780d1947 100644 --- a/docs/list-sql-tables.md +++ b/docs/list-sql-tables.md @@ -97,4 +97,4 @@ $result = Invoke-SqlServerQuery -Credential $creds -ConnectionTimeout 10000 -Dat $result | Export-Csv $csvfilepath -NoTypeInformation ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-ssh-key.md b/docs/list-ssh-key.md index 6dbb2bd8..029c6968 100644 --- a/docs/list-ssh-key.md +++ b/docs/list-ssh-key.md @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-submodules.md b/docs/list-submodules.md index 88c46ecc..d85fe00e 100644 --- a/docs/list-submodules.md +++ b/docs/list-submodules.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-suggestions.md b/docs/list-suggestions.md index 7efa66b3..cb1020b3 100644 --- a/docs/list-suggestions.md +++ b/docs/list-suggestions.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-system-devices.md b/docs/list-system-devices.md index a066eea7..22b9270e 100644 --- a/docs/list-system-devices.md +++ b/docs/list-system-devices.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-system-files.md b/docs/list-system-files.md index f3612df9..39dbce75 100644 --- a/docs/list-system-files.md +++ b/docs/list-system-files.md @@ -28,7 +28,7 @@ Example ```powershell PS> ./list-system-files.ps1 C:\Windows ... -βœ… Found 764 system files within πŸ“‚C:\windows in 50 sec +βœ… Found 764 system files within πŸ“‚C:\windows in 50s. ``` @@ -53,7 +53,7 @@ Script Content .EXAMPLE PS> ./list-system-files.ps1 C:\Windows ... - βœ… Found 764 system files within πŸ“‚C:\windows in 50 sec + βœ… Found 764 system files within πŸ“‚C:\windows in 50s. .LINK https://github.com/fleschutz/PowerShell .NOTES @@ -74,7 +74,7 @@ try { } Write-Progress -completed " " [int]$elapsed = $stopWatch.Elapsed.TotalSeconds - "βœ… Found $count system files within πŸ“‚$path in $elapsed sec" + "βœ… Found $count system files within πŸ“‚$path in $($elapsed)s." exit 0 # success } catch { "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-system-info.md b/docs/list-system-info.md index c0100681..3a20ca03 100644 --- a/docs/list-system-info.md +++ b/docs/list-system-info.md @@ -141,4 +141,4 @@ $info exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-tags.md b/docs/list-tags.md index 43aa7398..647668b6 100644 --- a/docs/list-tags.md +++ b/docs/list-tags.md @@ -112,4 +112,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-tasks.md b/docs/list-tasks.md index b81d9d79..75fcefe4 100644 --- a/docs/list-tasks.md +++ b/docs/list-tasks.md @@ -44,4 +44,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-timezone.md b/docs/list-timezone.md index dc9e0df5..9962eec1 100644 --- a/docs/list-timezone.md +++ b/docs/list-timezone.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-timezones.md b/docs/list-timezones.md index 878c7782..01fa38c3 100644 --- a/docs/list-timezones.md +++ b/docs/list-timezones.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-tiobe-index.md b/docs/list-tiobe-index.md index 49b4ff18..bf52adc1 100644 --- a/docs/list-tiobe-index.md +++ b/docs/list-tiobe-index.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-unused-files.md b/docs/list-unused-files.md index 3f444fcc..b7c6d76f 100644 --- a/docs/list-unused-files.md +++ b/docs/list-unused-files.md @@ -97,4 +97,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-updates.md b/docs/list-updates.md index ca29a2bd..90abe032 100644 --- a/docs/list-updates.md +++ b/docs/list-updates.md @@ -102,4 +102,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-usb-devices.md b/docs/list-usb-devices.md index cc7cb276..c63fa61c 100644 --- a/docs/list-usb-devices.md +++ b/docs/list-usb-devices.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-user-accounts.md b/docs/list-user-accounts.md index 1e8d2814..03b66f2f 100644 --- a/docs/list-user-accounts.md +++ b/docs/list-user-accounts.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-user-groups.md b/docs/list-user-groups.md index bbbd0044..a34ba439 100644 --- a/docs/list-user-groups.md +++ b/docs/list-user-groups.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-voices.md b/docs/list-voices.md index 2fb813de..be8eda87 100644 --- a/docs/list-voices.md +++ b/docs/list-voices.md @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-weather.md b/docs/list-weather.md index 14a68052..92d50732 100644 --- a/docs/list-weather.md +++ b/docs/list-weather.md @@ -179,4 +179,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-wifi.md b/docs/list-wifi.md index 596bafa9..d32c89f3 100644 --- a/docs/list-wifi.md +++ b/docs/list-wifi.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-window-titles.md b/docs/list-window-titles.md index cf91ee90..86864ffe 100644 --- a/docs/list-window-titles.md +++ b/docs/list-window-titles.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-workdir.md b/docs/list-workdir.md index 344ea1eb..8c370495 100644 --- a/docs/list-workdir.md +++ b/docs/list-workdir.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/list-wsl-distros.md b/docs/list-wsl-distros.md index 7ad02d4a..76116745 100644 --- a/docs/list-wsl-distros.md +++ b/docs/list-wsl-distros.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/locate-city.md b/docs/locate-city.md index f894f1da..0cb31a19 100644 --- a/docs/locate-city.md +++ b/docs/locate-city.md @@ -88,4 +88,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/locate-ipaddress.md b/docs/locate-ipaddress.md index b99ff0fe..b58e26df 100644 --- a/docs/locate-ipaddress.md +++ b/docs/locate-ipaddress.md @@ -46,4 +46,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/locate-my-phone.md b/docs/locate-my-phone.md index 66cc7feb..123d6b42 100644 --- a/docs/locate-my-phone.md +++ b/docs/locate-my-phone.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/locate-zip-code.md b/docs/locate-zip-code.md index 7131f44b..442b91ce 100644 --- a/docs/locate-zip-code.md +++ b/docs/locate-zip-code.md @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/lock-desktop.md b/docs/lock-desktop.md index f2b7a162..7c1d7b18 100644 --- a/docs/lock-desktop.md +++ b/docs/lock-desktop.md @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/log-off.md b/docs/log-off.md index c0620bdd..0e5f07e9 100644 --- a/docs/log-off.md +++ b/docs/log-off.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/make-install.md b/docs/make-install.md index 5fab3d54..1fd1a397 100644 --- a/docs/make-install.md +++ b/docs/make-install.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/measure-BubbleSort.md b/docs/measure-BubbleSort.md index d2db9594..fcc93890 100644 --- a/docs/measure-BubbleSort.md +++ b/docs/measure-BubbleSort.md @@ -93,4 +93,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/measure-BucketSort.md b/docs/measure-BucketSort.md index d1f91f8e..522b4bca 100644 --- a/docs/measure-BucketSort.md +++ b/docs/measure-BucketSort.md @@ -121,4 +121,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/measure-CountingSort.md b/docs/measure-CountingSort.md index 750f7518..431c8c03 100644 --- a/docs/measure-CountingSort.md +++ b/docs/measure-CountingSort.md @@ -112,4 +112,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/measure-HeapSort.md b/docs/measure-HeapSort.md index 393c4812..9e25acfb 100644 --- a/docs/measure-HeapSort.md +++ b/docs/measure-HeapSort.md @@ -127,4 +127,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/measure-InsertionSort.md b/docs/measure-InsertionSort.md index fed9dcb8..7e84336d 100644 --- a/docs/measure-InsertionSort.md +++ b/docs/measure-InsertionSort.md @@ -96,4 +96,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/measure-MergeSort.md b/docs/measure-MergeSort.md index a8297c39..7a94d0cb 100644 --- a/docs/measure-MergeSort.md +++ b/docs/measure-MergeSort.md @@ -121,4 +121,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/measure-QuickSort.md b/docs/measure-QuickSort.md index 42180aba..ed67aeab 100644 --- a/docs/measure-QuickSort.md +++ b/docs/measure-QuickSort.md @@ -102,4 +102,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/measure-SelectionSort.md b/docs/measure-SelectionSort.md index 4bd4fa2f..4f501993 100644 --- a/docs/measure-SelectionSort.md +++ b/docs/measure-SelectionSort.md @@ -95,4 +95,4 @@ $elapsed3 = "{0:N3}" -f $elapsed # formatted to 3 decimal places exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/measure-sorting-algorithms.md b/docs/measure-sorting-algorithms.md index 57e74846..10e4cd02 100644 --- a/docs/measure-sorting-algorithms.md +++ b/docs/measure-sorting-algorithms.md @@ -74,4 +74,4 @@ param([int]$numIntegers = 3000) exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/merry-christmas.md b/docs/merry-christmas.md index ec6d41f8..80b5b7c6 100644 --- a/docs/merry-christmas.md +++ b/docs/merry-christmas.md @@ -50,4 +50,4 @@ $Reply = "Merry Christmas to you too!", "Happy Christmas to you too!" | Get-Rand exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/minimize-all-windows.md b/docs/minimize-all-windows.md index 81a59442..86216a3f 100644 --- a/docs/minimize-all-windows.md +++ b/docs/minimize-all-windows.md @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/move-mouse-pointer.md b/docs/move-mouse-pointer.md index 4d9320dc..092243e2 100644 --- a/docs/move-mouse-pointer.md +++ b/docs/move-mouse-pointer.md @@ -86,4 +86,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/move-vm.md b/docs/move-vm.md index 414c37f8..ed709f6f 100644 --- a/docs/move-vm.md +++ b/docs/move-vm.md @@ -22,4 +22,4 @@ Move-VM $VMName HOST2 -IncludeStorage -DestinationStoragePath "D:\VirtualMachine exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:38)* diff --git a/docs/my-profile.md b/docs/my-profile.md index 50739d5d..56a9f5d3 100644 --- a/docs/my-profile.md +++ b/docs/my-profile.md @@ -39,4 +39,4 @@ Del alias:pwd -force -errorAction SilentlyContinue Set-Alias -name pwd -value list-workdir.ps1 # pwd = print working directory ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/new-branch.md b/docs/new-branch.md index 13725403..52c65d9e 100644 --- a/docs/new-branch.md +++ b/docs/new-branch.md @@ -130,4 +130,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/new-dir.md b/docs/new-dir.md index 5a77c18d..f37122c2 100644 --- a/docs/new-dir.md +++ b/docs/new-dir.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/new-email.md b/docs/new-email.md index 5cd2e001..a296e8a8 100644 --- a/docs/new-email.md +++ b/docs/new-email.md @@ -68,4 +68,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/new-junction.md b/docs/new-junction.md index 3fbc86dc..af4c6cdc 100644 --- a/docs/new-junction.md +++ b/docs/new-junction.md @@ -87,4 +87,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/new-linux-vm.md b/docs/new-linux-vm.md index fcf8931f..2a28dc36 100644 --- a/docs/new-linux-vm.md +++ b/docs/new-linux-vm.md @@ -38,4 +38,4 @@ $VMName = "linux" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/new-markdown-file.md b/docs/new-markdown-file.md index 8f8d77e1..6af6fdbd 100644 --- a/docs/new-markdown-file.md +++ b/docs/new-markdown-file.md @@ -1,7 +1,7 @@ The *new-markdown-file.ps1* Script =========================== -This PowerShell script creates a new Markdown file from template file at: ../data/templates/Markdown.md. +This PowerShell script creates a new Markdown file from template: ../data/templates/New.md. Parameters ---------- @@ -9,11 +9,11 @@ Parameters /Repos/PowerShell/scripts/new-markdown-file.ps1 [[-path] ] [] -path - Specifies the path and new filename + Specifies the path and new filename (README.md by default) Required? false Position? 1 - Default value + Default value README.md Accept pipeline input? false Aliases Accept wildcard characters? false @@ -26,8 +26,8 @@ Parameters Example ------- ```powershell -PS> ./new-markdown-file.ps1 letter.md -βœ… New Markdown file 'letter.md' created from template 'Markdown.md'. +PS> ./new-markdown-file.ps1 +βœ… New 'README.md' created (from data/templates/New.md). ``` @@ -44,30 +44,30 @@ Script Content ```powershell <# .SYNOPSIS - Creates a new Markdown file + Creates a Markdown file .DESCRIPTION - This PowerShell script creates a new Markdown file from template file at: ../data/templates/Markdown.md. + This PowerShell script creates a new Markdown file from template: ../data/templates/New.md. .PARAMETER path - Specifies the path and new filename + Specifies the path and new filename (README.md by default) .EXAMPLE - PS> ./new-markdown-file.ps1 letter.md - βœ… New Markdown file 'letter.md' created from template 'Markdown.md'. + PS> ./new-markdown-file.ps1 + βœ… New 'README.md' created (from data/templates/New.md). .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> -param([string]$path = "") +param([string]$path = "README.md") try { - if ($path -eq "" ) { $path = Read-Host "Enter the new filename" } + if (Test-Path "$path" -pathType leaf) { throw "File '$path' is already existing" } - $pathToTemplate = Resolve-Path "$PSScriptRoot/../data/templates/Markdown.md" + $pathToTemplate = Resolve-Path "$PSScriptRoot/../data/templates/New.md" Copy-Item $pathToTemplate "$path" if ($lastExitCode -ne 0) { throw "Can't copy template to: $path" } - "βœ… New Markdown file '$path' created from template 'Markdown.md'." + "βœ… New '$path' created (from data/templates/New.md)." exit 0 # success } catch { "⚠️ Error: $($Error[0])" @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/new-power-plan.md b/docs/new-power-plan.md index d2cec6e0..f1091acd 100644 --- a/docs/new-power-plan.md +++ b/docs/new-power-plan.md @@ -36,4 +36,4 @@ powercfg -setactive $newGuid Write-Output "New power plan created with GUID: $newGuid and set as active." ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/new-powershell-script.md b/docs/new-powershell-script.md new file mode 100644 index 00000000..6cc2d5d0 --- /dev/null +++ b/docs/new-powershell-script.md @@ -0,0 +1,78 @@ +The *new-powershell-script.ps1* Script +=========================== + +This PowerShell script creates a new PowerShell script file by using the template ../data/templates/New.ps1. + +Parameters +---------- +```powershell +/Repos/PowerShell/scripts/new-powershell-script.ps1 [[-path] ] [] + +-path + Specifies the path and new filename ("bot.ps1" by default) + + Required? false + Position? 1 + Default value bot.ps1 + Accept pipeline input? false + Aliases + Accept wildcard characters? false + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Example +------- +```powershell +PS> ./new-powershell-script.ps1 +βœ… New PowerShell script 'bot.ps1' created from template 'PowerShell.ps1'. + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Creates a PowerShell script +.DESCRIPTION + This PowerShell script creates a new PowerShell script file by using the template ../data/templates/New.ps1. +.PARAMETER path + Specifies the path and new filename ("bot.ps1" by default) +.EXAMPLE + PS> ./new-powershell-script.ps1 + βœ… New PowerShell script 'bot.ps1' created from template 'PowerShell.ps1'. +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +param([string]$path = "bot.ps1") + +try { + if (Test-Path "$path" -pathType leaf) { throw "File '$path' is already existing" } + + $pathToTemplate = Resolve-Path "$PSScriptRoot/../data/templates/New.ps1" + Copy-Item $pathToTemplate "$path" + if ($lastExitCode -ne 0) { throw "Can't copy to: $path" } + + "βœ… New '$path' created (from data/templates/New.ps1)." + exit 0 # success +} catch { + "⚠️ Error: $($Error[0])" + exit 1 +} +``` + +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/new-qrcode.md b/docs/new-qrcode.md index 97ba836b..2ae86de8 100644 --- a/docs/new-qrcode.md +++ b/docs/new-qrcode.md @@ -113,4 +113,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/new-reboot-task.md b/docs/new-reboot-task.md index 8afdf168..86d13afd 100644 --- a/docs/new-reboot-task.md +++ b/docs/new-reboot-task.md @@ -134,4 +134,4 @@ Else If ((Get-ScheduledTask -TaskName $Taskname).State -eq "Disabled") {Enable-ScheduledTask -TaskName $TaskName} ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/new-shortcut.md b/docs/new-shortcut.md index c9e47d70..b4a956d1 100644 --- a/docs/new-shortcut.md +++ b/docs/new-shortcut.md @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/new-ssh-key.md b/docs/new-ssh-key.md index 4903f35b..cc11d40c 100644 --- a/docs/new-ssh-key.md +++ b/docs/new-ssh-key.md @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/new-symlink.md b/docs/new-symlink.md index 5240772a..5b2abc3b 100644 --- a/docs/new-symlink.md +++ b/docs/new-symlink.md @@ -87,4 +87,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/new-tab.md b/docs/new-tab.md index fc048e43..c4bc1888 100644 --- a/docs/new-tab.md +++ b/docs/new-tab.md @@ -58,4 +58,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/new-tag.md b/docs/new-tag.md index 8711fe44..2767f04a 100644 --- a/docs/new-tag.md +++ b/docs/new-tag.md @@ -103,4 +103,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/new-text-file.md b/docs/new-text-file.md index d66cfe4f..b7867e6a 100644 --- a/docs/new-text-file.md +++ b/docs/new-text-file.md @@ -1,7 +1,7 @@ The *new-text-file.ps1* Script =========================== -This PowerShell script creates a new .txt file from template file at: ../data/templates/Text.txt. +This PowerShell script creates a new .txt file from: ../data/templates/New.txt. Parameters ---------- @@ -9,11 +9,11 @@ Parameters /Repos/PowerShell/scripts/new-text-file.ps1 [[-path] ] [] -path - Specifies the path and new filename + Specifies the path and new filename (README.txt by default) Required? false Position? 1 - Default value + Default value README.txt Accept pipeline input? false Aliases Accept wildcard characters? false @@ -26,8 +26,8 @@ Parameters Example ------- ```powershell -PS> ./new-text-file.ps1 README.txt -βœ… New text file 'README.txt' created from template 'Text.txt'. +PS> ./new-text-file.ps1 +βœ… New 'README.txt' created (from data/templates/New.txt). ``` @@ -44,30 +44,30 @@ Script Content ```powershell <# .SYNOPSIS - Creates a new text file + Creates a text file .DESCRIPTION - This PowerShell script creates a new .txt file from template file at: ../data/templates/Text.txt. + This PowerShell script creates a new .txt file from: ../data/templates/New.txt. .PARAMETER path - Specifies the path and new filename + Specifies the path and new filename (README.txt by default) .EXAMPLE - PS> ./new-text-file.ps1 README.txt - βœ… New text file 'README.txt' created from template 'Text.txt'. + PS> ./new-text-file.ps1 + βœ… New 'README.txt' created (from data/templates/New.txt). .LINK https://github.com/fleschutz/PowerShell .NOTES Author: Markus Fleschutz | License: CC0 #> -param([string]$path = "") +param([string]$path = "README.txt") try { - if ($path -eq "" ) { $path = Read-Host "Enter the new filename" } + if (Test-Path "$path" -pathType leaf) { throw "File '$path' is already existing" } - $pathToTemplate = Resolve-Path "$PSScriptRoot/../data/templates/Text.txt" + $pathToTemplate = Resolve-Path "$PSScriptRoot/../data/templates/New.txt" Copy-Item $pathToTemplate "$path" if ($lastExitCode -ne 0) { throw "Can't copy template to: $path" } - "βœ… New text file '$path' created from template 'Text.txt'." + "βœ… New '$path' created (from data/templates/New.txt)." exit 0 # success } catch { "⚠️ Error: $($Error[0])" @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/new-user.md b/docs/new-user.md index bac830aa..ef1cd96c 100644 --- a/docs/new-user.md +++ b/docs/new-user.md @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/new-windows-vm.md b/docs/new-windows-vm.md index e6d50b0e..d266f7b9 100644 --- a/docs/new-windows-vm.md +++ b/docs/new-windows-vm.md @@ -37,4 +37,4 @@ $VMName = "windows" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/on-desktop-login.md b/docs/on-desktop-login.md index 0df1067e..83e240b6 100644 --- a/docs/on-desktop-login.md +++ b/docs/on-desktop-login.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-URL.md b/docs/open-URL.md index f7684255..77890b5b 100644 --- a/docs/open-URL.md +++ b/docs/open-URL.md @@ -88,4 +88,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/open-apps-folder.md b/docs/open-apps-folder.md index 6e2fcde0..faa047a9 100644 --- a/docs/open-apps-folder.md +++ b/docs/open-apps-folder.md @@ -49,4 +49,4 @@ exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-auto-start-folder.md b/docs/open-auto-start-folder.md index ab786efa..91fbf123 100644 --- a/docs/open-auto-start-folder.md +++ b/docs/open-auto-start-folder.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-bing-maps.md b/docs/open-bing-maps.md index 1cc5b601..221ae1f0 100644 --- a/docs/open-bing-maps.md +++ b/docs/open-bing-maps.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-booking-com.md b/docs/open-booking-com.md index 98003681..3bbd49a5 100644 --- a/docs/open-booking-com.md +++ b/docs/open-booking-com.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-c-drive.md b/docs/open-c-drive.md index 401c35c0..3250a13a 100644 --- a/docs/open-c-drive.md +++ b/docs/open-c-drive.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-calculator.md b/docs/open-calculator.md index d622c89f..c8284b2a 100644 --- a/docs/open-calculator.md +++ b/docs/open-calculator.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:56)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-chrome.md b/docs/open-chrome.md index 3c37b155..2b770c6d 100644 --- a/docs/open-chrome.md +++ b/docs/open-chrome.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-clock.md b/docs/open-clock.md index bbc8c92c..78e7989e 100644 --- a/docs/open-clock.md +++ b/docs/open-clock.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-cortana.md b/docs/open-cortana.md index 3b20e55f..afc8e2c7 100644 --- a/docs/open-cortana.md +++ b/docs/open-cortana.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-d-drive.md b/docs/open-d-drive.md index 78f8ad30..89354839 100644 --- a/docs/open-d-drive.md +++ b/docs/open-d-drive.md @@ -47,4 +47,4 @@ Script Content & "$PSScriptRoot/open-file-explorer.ps1" "D:" ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-dashboards.md b/docs/open-dashboards.md index 725ce7c2..85370446 100644 --- a/docs/open-dashboards.md +++ b/docs/open-dashboards.md @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-deep-l-translator.md b/docs/open-deep-l-translator.md index 418b17cf..2ee55633 100644 --- a/docs/open-deep-l-translator.md +++ b/docs/open-deep-l-translator.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-default-browser.md b/docs/open-default-browser.md index cdcd6db7..c4afa013 100644 --- a/docs/open-default-browser.md +++ b/docs/open-default-browser.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-desktop-folder.md b/docs/open-desktop-folder.md index 02c761a7..b9aaf9ca 100644 --- a/docs/open-desktop-folder.md +++ b/docs/open-desktop-folder.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-documents-folder.md b/docs/open-documents-folder.md index 6d3cc335..98445e4a 100644 --- a/docs/open-documents-folder.md +++ b/docs/open-documents-folder.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-downloads-folder.md b/docs/open-downloads-folder.md index 061108c9..2d223143 100644 --- a/docs/open-downloads-folder.md +++ b/docs/open-downloads-folder.md @@ -61,4 +61,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-dropbox-folder.md b/docs/open-dropbox-folder.md index 1f24cbce..d60f8af3 100644 --- a/docs/open-dropbox-folder.md +++ b/docs/open-dropbox-folder.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-duck-duck-go.md b/docs/open-duck-duck-go.md index 01132f99..116ede0a 100644 --- a/docs/open-duck-duck-go.md +++ b/docs/open-duck-duck-go.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-e-drive.md b/docs/open-e-drive.md index 0c0aa6ca..f454eefa 100644 --- a/docs/open-e-drive.md +++ b/docs/open-e-drive.md @@ -47,4 +47,4 @@ Script Content & "$PSScriptRoot/open-file-explorer.ps1" "E:" ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-edge.md b/docs/open-edge.md index 4e6d4e43..c0f41b43 100644 --- a/docs/open-edge.md +++ b/docs/open-edge.md @@ -48,4 +48,4 @@ Start-Process microsoft-edge:// exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-egg-timer.md b/docs/open-egg-timer.md index e93974fd..ac3cf51f 100644 --- a/docs/open-egg-timer.md +++ b/docs/open-egg-timer.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-email-client.md b/docs/open-email-client.md index 36ec5a91..7d5c651a 100644 --- a/docs/open-email-client.md +++ b/docs/open-email-client.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-f-drive.md b/docs/open-f-drive.md index efb15c42..bdab61b6 100644 --- a/docs/open-f-drive.md +++ b/docs/open-f-drive.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-file-explorer.md b/docs/open-file-explorer.md index 92f18dca..3a5fcf0d 100644 --- a/docs/open-file-explorer.md +++ b/docs/open-file-explorer.md @@ -71,4 +71,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-fire-place.md b/docs/open-fire-place.md index 614d0762..5fe88ad8 100644 --- a/docs/open-fire-place.md +++ b/docs/open-fire-place.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-firefox.md b/docs/open-firefox.md index eb7b53b2..bee0653c 100644 --- a/docs/open-firefox.md +++ b/docs/open-firefox.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-flight-radar.md b/docs/open-flight-radar.md index 177d2026..0245965a 100644 --- a/docs/open-flight-radar.md +++ b/docs/open-flight-radar.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-g-drive.md b/docs/open-g-drive.md index 9332b554..2844d46a 100644 --- a/docs/open-g-drive.md +++ b/docs/open-g-drive.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-git-extensions.md b/docs/open-git-extensions.md index 3871329d..4b5493db 100644 --- a/docs/open-git-extensions.md +++ b/docs/open-git-extensions.md @@ -48,4 +48,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-google-books.md b/docs/open-google-books.md index cc454af4..7d5ee6a9 100644 --- a/docs/open-google-books.md +++ b/docs/open-google-books.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-google-calendar.md b/docs/open-google-calendar.md index fdd8cb99..099b4057 100644 --- a/docs/open-google-calendar.md +++ b/docs/open-google-calendar.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-google-contacts.md b/docs/open-google-contacts.md index 728f7a2c..5b951081 100644 --- a/docs/open-google-contacts.md +++ b/docs/open-google-contacts.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-google-docs.md b/docs/open-google-docs.md index faaac50e..75e564d6 100644 --- a/docs/open-google-docs.md +++ b/docs/open-google-docs.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-google-earth.md b/docs/open-google-earth.md index 9f26a33d..15f1c852 100644 --- a/docs/open-google-earth.md +++ b/docs/open-google-earth.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-google-mail.md b/docs/open-google-mail.md index 812ff987..526251e1 100644 --- a/docs/open-google-mail.md +++ b/docs/open-google-mail.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-google-maps.md b/docs/open-google-maps.md index d7386069..e3829a22 100644 --- a/docs/open-google-maps.md +++ b/docs/open-google-maps.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-google-news.md b/docs/open-google-news.md index e992c57c..dfc1e6fe 100644 --- a/docs/open-google-news.md +++ b/docs/open-google-news.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-google-photos.md b/docs/open-google-photos.md index fbbd27d0..7cd22137 100644 --- a/docs/open-google-photos.md +++ b/docs/open-google-photos.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-google-play.md b/docs/open-google-play.md index 447af703..c749a0ee 100644 --- a/docs/open-google-play.md +++ b/docs/open-google-play.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-google-search.md b/docs/open-google-search.md index 7942dfd6..d3ca21de 100644 --- a/docs/open-google-search.md +++ b/docs/open-google-search.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-google-stadia.md b/docs/open-google-stadia.md index a391cd76..baaf14f4 100644 --- a/docs/open-google-stadia.md +++ b/docs/open-google-stadia.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-google-translate.md b/docs/open-google-translate.md index 07b89430..a8e6a5c9 100644 --- a/docs/open-google-translate.md +++ b/docs/open-google-translate.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-home-folder.md b/docs/open-home-folder.md index 46acc51f..1d051f99 100644 --- a/docs/open-home-folder.md +++ b/docs/open-home-folder.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-internet-archive.md b/docs/open-internet-archive.md index 81f06db6..d7571acb 100644 --- a/docs/open-internet-archive.md +++ b/docs/open-internet-archive.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-jitsi-meet.md b/docs/open-jitsi-meet.md index ba794d0b..14e73274 100644 --- a/docs/open-jitsi-meet.md +++ b/docs/open-jitsi-meet.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-m-drive.md b/docs/open-m-drive.md index 4cfbc8e2..59544292 100644 --- a/docs/open-m-drive.md +++ b/docs/open-m-drive.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-magnifier.md b/docs/open-magnifier.md index b43992df..85181a05 100644 --- a/docs/open-magnifier.md +++ b/docs/open-magnifier.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-microsoft-paint.md b/docs/open-microsoft-paint.md index fe6d7d4e..af510ece 100644 --- a/docs/open-microsoft-paint.md +++ b/docs/open-microsoft-paint.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-microsoft-solitaire.md b/docs/open-microsoft-solitaire.md index 582df9d7..2670d4c2 100644 --- a/docs/open-microsoft-solitaire.md +++ b/docs/open-microsoft-solitaire.md @@ -48,4 +48,4 @@ Start-Process xboxliveapp-1297287741: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-microsoft-store.md b/docs/open-microsoft-store.md index 9889ef95..e88c30dd 100644 --- a/docs/open-microsoft-store.md +++ b/docs/open-microsoft-store.md @@ -48,4 +48,4 @@ Start-Process ms-windows-store: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-microsoft-teams.md b/docs/open-microsoft-teams.md index 84f45e2b..78858352 100644 --- a/docs/open-microsoft-teams.md +++ b/docs/open-microsoft-teams.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-music-folder.md b/docs/open-music-folder.md index 7b41bc1d..3cb33a09 100644 --- a/docs/open-music-folder.md +++ b/docs/open-music-folder.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-netflix.md b/docs/open-netflix.md index 2dc4c6c1..3c83216e 100644 --- a/docs/open-netflix.md +++ b/docs/open-netflix.md @@ -48,4 +48,4 @@ Start-Process netflix: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-notepad.md b/docs/open-notepad.md index bdc31105..ceeacf4d 100644 --- a/docs/open-notepad.md +++ b/docs/open-notepad.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-obs-studio.md b/docs/open-obs-studio.md index b3d428dc..c747522a 100644 --- a/docs/open-obs-studio.md +++ b/docs/open-obs-studio.md @@ -47,4 +47,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-office-365.md b/docs/open-office-365.md index 58a1d36c..37934f90 100644 --- a/docs/open-office-365.md +++ b/docs/open-office-365.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-one-drive-folder.md b/docs/open-one-drive-folder.md index 6fd36a57..bf80e169 100644 --- a/docs/open-one-drive-folder.md +++ b/docs/open-one-drive-folder.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-outlook.md b/docs/open-outlook.md index 0a2b602b..b4bdbac6 100644 --- a/docs/open-outlook.md +++ b/docs/open-outlook.md @@ -47,4 +47,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-paint-three-d.md b/docs/open-paint-three-d.md index 63635130..3feb81d0 100644 --- a/docs/open-paint-three-d.md +++ b/docs/open-paint-three-d.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-pictures-folder.md b/docs/open-pictures-folder.md index 522726bc..934021a4 100644 --- a/docs/open-pictures-folder.md +++ b/docs/open-pictures-folder.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-rdp.md b/docs/open-rdp.md index 14b9974d..1b3925a5 100644 --- a/docs/open-rdp.md +++ b/docs/open-rdp.md @@ -65,4 +65,4 @@ if ($hostname -eq "") { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-recycle-bin-folder.md b/docs/open-recycle-bin-folder.md index 1cd75275..9c785bde 100644 --- a/docs/open-recycle-bin-folder.md +++ b/docs/open-recycle-bin-folder.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-remote-desktop.md b/docs/open-remote-desktop.md index 869d8e30..4177e4db 100644 --- a/docs/open-remote-desktop.md +++ b/docs/open-remote-desktop.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-repos-folder.md b/docs/open-repos-folder.md index 1f0597ee..8b1b9d76 100644 --- a/docs/open-repos-folder.md +++ b/docs/open-repos-folder.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-screen-clip.md b/docs/open-screen-clip.md index 6b9e8155..a217fb9f 100644 --- a/docs/open-screen-clip.md +++ b/docs/open-screen-clip.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-screen-sketch.md b/docs/open-screen-sketch.md index 777d071c..730a88e9 100644 --- a/docs/open-screen-sketch.md +++ b/docs/open-screen-sketch.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-skype.md b/docs/open-skype.md index b1f73b65..b1dffb16 100644 --- a/docs/open-skype.md +++ b/docs/open-skype.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-snipping-tool.md b/docs/open-snipping-tool.md index 9d8ba8b1..53dd02af 100644 --- a/docs/open-snipping-tool.md +++ b/docs/open-snipping-tool.md @@ -48,4 +48,4 @@ Start-Process SnippingTool.exe exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-speed-test.md b/docs/open-speed-test.md index 0f461f62..72cdddf0 100644 --- a/docs/open-speed-test.md +++ b/docs/open-speed-test.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-spotify.md b/docs/open-spotify.md index 103f2250..e9f728c2 100644 --- a/docs/open-spotify.md +++ b/docs/open-spotify.md @@ -48,4 +48,4 @@ Start-Process spotify: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-stack-overflow.md b/docs/open-stack-overflow.md index 8cbfc380..72f9bcf7 100644 --- a/docs/open-stack-overflow.md +++ b/docs/open-stack-overflow.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-start-page.md b/docs/open-start-page.md index 31be41f0..2ac7e8a1 100644 --- a/docs/open-start-page.md +++ b/docs/open-start-page.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-street-map.md b/docs/open-street-map.md index 6557a2c7..cb52daf5 100644 --- a/docs/open-street-map.md +++ b/docs/open-street-map.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-task-manager.md b/docs/open-task-manager.md index 7638ac38..4af3eda8 100644 --- a/docs/open-task-manager.md +++ b/docs/open-task-manager.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-temporary-folder.md b/docs/open-temporary-folder.md index d61d71d5..8f1ed029 100644 --- a/docs/open-temporary-folder.md +++ b/docs/open-temporary-folder.md @@ -50,4 +50,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-three-d-viewer.md b/docs/open-three-d-viewer.md index 23bd7706..f214c0ff 100644 --- a/docs/open-three-d-viewer.md +++ b/docs/open-three-d-viewer.md @@ -48,4 +48,4 @@ Start-Process com.microsoft.3dviewer: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:39)* diff --git a/docs/open-thunderbird.md b/docs/open-thunderbird.md index 3e96a188..3a5f526c 100644 --- a/docs/open-thunderbird.md +++ b/docs/open-thunderbird.md @@ -45,4 +45,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/open-videos-folders.md b/docs/open-videos-folders.md index f2bcf0ad..d5b231bd 100644 --- a/docs/open-videos-folders.md +++ b/docs/open-videos-folders.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/open-visual-studio.md b/docs/open-visual-studio.md index ad8f6cb9..49085024 100644 --- a/docs/open-visual-studio.md +++ b/docs/open-visual-studio.md @@ -47,4 +47,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/open-voice-recorder.md b/docs/open-voice-recorder.md index 48c2e226..a57191b0 100644 --- a/docs/open-voice-recorder.md +++ b/docs/open-voice-recorder.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/open-vpn-settings.md b/docs/open-vpn-settings.md index 41558271..19e7d958 100644 --- a/docs/open-vpn-settings.md +++ b/docs/open-vpn-settings.md @@ -48,4 +48,4 @@ Start-Process ms-settings:network-vpn exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/open-windows-defender.md b/docs/open-windows-defender.md index 355d6e1f..716d3309 100644 --- a/docs/open-windows-defender.md +++ b/docs/open-windows-defender.md @@ -48,4 +48,4 @@ Start-Process windowsdefender: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/open-windows-terminal.md b/docs/open-windows-terminal.md index acc07f5f..f9974732 100644 --- a/docs/open-windows-terminal.md +++ b/docs/open-windows-terminal.md @@ -48,4 +48,4 @@ Start-Process wt.exe exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/open-xing.md b/docs/open-xing.md index f7f1d5a6..d73d79ce 100644 --- a/docs/open-xing.md +++ b/docs/open-xing.md @@ -48,4 +48,4 @@ Start-Process xing: exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/pick-commit.md b/docs/pick-commit.md index 6aee8002..3908fc97 100644 --- a/docs/pick-commit.md +++ b/docs/pick-commit.md @@ -155,4 +155,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/ping-host.md b/docs/ping-host.md index 2a05270b..992b1665 100644 --- a/docs/ping-host.md +++ b/docs/ping-host.md @@ -81,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/ping-internet.md b/docs/ping-internet.md index 31bf363e..c4d45d15 100644 --- a/docs/ping-internet.md +++ b/docs/ping-internet.md @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/ping-local-devices.md b/docs/ping-local-devices.md index 6d9c09fa..7aa0b6da 100644 --- a/docs/ping-local-devices.md +++ b/docs/ping-local-devices.md @@ -82,4 +82,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/ping-weather.md b/docs/ping-weather.md index 4fafb2a9..0201c583 100644 --- a/docs/ping-weather.md +++ b/docs/ping-weather.md @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/play-bee-sound.md b/docs/play-bee-sound.md index 2050bc0c..90cc0e2a 100644 --- a/docs/play-bee-sound.md +++ b/docs/play-bee-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/play-beep-sound.md b/docs/play-beep-sound.md index 90b6c39c..863e7b22 100644 --- a/docs/play-beep-sound.md +++ b/docs/play-beep-sound.md @@ -51,4 +51,4 @@ Start-Sleep -milliseconds 300 exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/play-big-ben.md b/docs/play-big-ben.md index e880152d..a1002eaa 100644 --- a/docs/play-big-ben.md +++ b/docs/play-big-ben.md @@ -50,4 +50,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/play-cat-sound.md b/docs/play-cat-sound.md index 1062f6d9..f978272c 100644 --- a/docs/play-cat-sound.md +++ b/docs/play-cat-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/play-chess.md b/docs/play-chess.md index c85c8f2a..ce7d489a 100644 --- a/docs/play-chess.md +++ b/docs/play-chess.md @@ -1260,4 +1260,4 @@ while ($Script:gameStatus -eq [gamestatus]::ongoing) { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/play-cow-sound.md b/docs/play-cow-sound.md index 152d5e24..a173ccc2 100644 --- a/docs/play-cow-sound.md +++ b/docs/play-cow-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/play-dog-sound.md b/docs/play-dog-sound.md index 464de086..1cc668df 100644 --- a/docs/play-dog-sound.md +++ b/docs/play-dog-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/play-donkey-sound.md b/docs/play-donkey-sound.md index 38bdb5e9..0ba0338c 100644 --- a/docs/play-donkey-sound.md +++ b/docs/play-donkey-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/play-drug-wars.md b/docs/play-drug-wars.md index 600ec57d..09f54abe 100644 --- a/docs/play-drug-wars.md +++ b/docs/play-drug-wars.md @@ -5400,4 +5400,4 @@ while ($script:Playing) { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/play-elephant-sound.md b/docs/play-elephant-sound.md index 7b097b37..d54993d9 100644 --- a/docs/play-elephant-sound.md +++ b/docs/play-elephant-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/play-elk-sound.md b/docs/play-elk-sound.md index 1f950d9a..441dd28c 100644 --- a/docs/play-elk-sound.md +++ b/docs/play-elk-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/play-files.md b/docs/play-files.md index dcd2fe77..98acec60 100644 --- a/docs/play-files.md +++ b/docs/play-files.md @@ -87,4 +87,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/play-frog-sound.md b/docs/play-frog-sound.md index 9e1a4fc2..6ce0bc5e 100644 --- a/docs/play-frog-sound.md +++ b/docs/play-frog-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/play-goat-sound.md b/docs/play-goat-sound.md index 417b5bff..82c745b2 100644 --- a/docs/play-goat-sound.md +++ b/docs/play-goat-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/play-gorilla-sound.md b/docs/play-gorilla-sound.md index 7252a924..cd3d0231 100644 --- a/docs/play-gorilla-sound.md +++ b/docs/play-gorilla-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/play-happy-birthday.md b/docs/play-happy-birthday.md index 5bb3e05a..15fbbd94 100644 --- a/docs/play-happy-birthday.md +++ b/docs/play-happy-birthday.md @@ -79,4 +79,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/play-horse-sound.md b/docs/play-horse-sound.md index 789359ba..2aaa74cb 100644 --- a/docs/play-horse-sound.md +++ b/docs/play-horse-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/play-imperial-march.md b/docs/play-imperial-march.md index 747bd657..4c9aa77d 100644 --- a/docs/play-imperial-march.md +++ b/docs/play-imperial-march.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/play-jingle-bells.md b/docs/play-jingle-bells.md index 1544d98e..547aa50a 100644 --- a/docs/play-jingle-bells.md +++ b/docs/play-jingle-bells.md @@ -201,4 +201,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/play-lion-sound.md b/docs/play-lion-sound.md index 0da88e40..ad32ef46 100644 --- a/docs/play-lion-sound.md +++ b/docs/play-lion-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:57)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/play-m3u.md b/docs/play-m3u.md index 6118e60e..f0c688d9 100644 --- a/docs/play-m3u.md +++ b/docs/play-m3u.md @@ -85,4 +85,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/play-mission-impossible.md b/docs/play-mission-impossible.md index 19864a9f..4ebbd0c6 100644 --- a/docs/play-mission-impossible.md +++ b/docs/play-mission-impossible.md @@ -100,4 +100,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/play-mp3.md b/docs/play-mp3.md index 56068930..e6aa56bf 100644 --- a/docs/play-mp3.md +++ b/docs/play-mp3.md @@ -97,4 +97,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/play-parrot-sound.md b/docs/play-parrot-sound.md index ce0efd1c..da748fdf 100644 --- a/docs/play-parrot-sound.md +++ b/docs/play-parrot-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/play-pig-sound.md b/docs/play-pig-sound.md index c02eb652..21a04c66 100644 --- a/docs/play-pig-sound.md +++ b/docs/play-pig-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/play-pong.md b/docs/play-pong.md index 28ff0364..440b0870 100644 --- a/docs/play-pong.md +++ b/docs/play-pong.md @@ -176,4 +176,4 @@ while ($true) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/play-rattlesnake-sound.md b/docs/play-rattlesnake-sound.md index 570ecbf8..8e5ef524 100644 --- a/docs/play-rattlesnake-sound.md +++ b/docs/play-rattlesnake-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/play-rick.md b/docs/play-rick.md index 250b4fb0..df1f7c22 100644 --- a/docs/play-rick.md +++ b/docs/play-rick.md @@ -49,4 +49,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/play-snake.md b/docs/play-snake.md index 107446d8..6fc5ce07 100644 --- a/docs/play-snake.md +++ b/docs/play-snake.md @@ -86,4 +86,4 @@ Start-Sleep -milliseconds 300 exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/play-super-mario.md b/docs/play-super-mario.md index e2adcc80..736e7d82 100644 --- a/docs/play-super-mario.md +++ b/docs/play-super-mario.md @@ -71,4 +71,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/play-system-sounds.md b/docs/play-system-sounds.md index e85434b9..c304d0dc 100644 --- a/docs/play-system-sounds.md +++ b/docs/play-system-sounds.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/play-tetris-melody.md b/docs/play-tetris-melody.md index 2ca2bec2..43754cdb 100644 --- a/docs/play-tetris-melody.md +++ b/docs/play-tetris-melody.md @@ -161,4 +161,4 @@ Start-Sleep -milliseconds 500 exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/play-vulture-sound.md b/docs/play-vulture-sound.md index 0e219078..24782b53 100644 --- a/docs/play-vulture-sound.md +++ b/docs/play-vulture-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/play-wolf-sound.md b/docs/play-wolf-sound.md index 36e242d4..d0c304ad 100644 --- a/docs/play-wolf-sound.md +++ b/docs/play-wolf-sound.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/poweroff.md b/docs/poweroff.md index 7c906b23..44896aef 100644 --- a/docs/poweroff.md +++ b/docs/poweroff.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/print-image.md b/docs/print-image.md index 8bd56aac..4f0451d3 100644 --- a/docs/print-image.md +++ b/docs/print-image.md @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/publish-to-ipfs.md b/docs/publish-to-ipfs.md index 5e0b40bb..a07633a7 100644 --- a/docs/publish-to-ipfs.md +++ b/docs/publish-to-ipfs.md @@ -122,4 +122,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/pull-repo.md b/docs/pull-repo.md index 278d91ad..da067b0d 100644 --- a/docs/pull-repo.md +++ b/docs/pull-repo.md @@ -101,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/pull-repos.md b/docs/pull-repos.md index 7ce9985a..3ad31dea 100644 --- a/docs/pull-repos.md +++ b/docs/pull-repos.md @@ -29,7 +29,7 @@ Example PS> ./pull-repos C:\MyRepos ⏳ (1) Searching for Git executable... git version 2.43.0 ⏳ (2) Checking parent folder... 33 subfolders -⏳ (3/35) Pulling into πŸ“‚base256U... +⏳ (3/35) Pulling into 'base256U' repo... ... ``` @@ -56,7 +56,7 @@ Script Content PS> ./pull-repos C:\MyRepos ⏳ (1) Searching for Git executable... git version 2.43.0 ⏳ (2) Checking parent folder... 33 subfolders - ⏳ (3/35) Pulling into πŸ“‚base256U... + ⏳ (3/35) Pulling into 'base256U' repo... ... .LINK https://github.com/fleschutz/PowerShell @@ -78,16 +78,16 @@ try { $folders = (Get-ChildItem "$parentDir" -attributes Directory) $numFolders = $folders.Count $parentDirName = (Get-Item "$parentDir").Name - Write-Host "$numFolders subfolders" + Write-Host "$parentDir with $numFolders subfolders" [int]$step = 3 [int]$numFailed = 0 foreach ($folder in $folders) { $folderName = (Get-Item "$folder").Name - Write-Host "⏳ ($step/$($numFolders + 2)) Pulling into πŸ“‚$folderName...`t`t" -NoNewline + Write-Host "⏳ ($step/$($numFolders + 2)) Pulling into repo '$folderName'...`t`t" -NoNewline & git -C "$folder" pull --recurse-submodules --jobs=4 - if ($lastExitCode -ne 0) { $numFailed++; Write-Warning "'git pull' in πŸ“‚$folderName failed" } + if ($lastExitCode -ne 0) { $numFailed++; Write-Warning "'git pull' into πŸ“‚$folderName failed" } & git -C "$folder" submodule update --init --recursive if ($lastExitCode -ne 0) { $numFailed++; Write-Warning "'git submodule update' in πŸ“‚$folderName failed with exit code $lastExitCode" } @@ -107,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/query-smart-data.md b/docs/query-smart-data.md index cfdbbe57..7f029ae2 100644 --- a/docs/query-smart-data.md +++ b/docs/query-smart-data.md @@ -107,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/reboot-fritzbox.md b/docs/reboot-fritzbox.md index 56e54c20..b4924e3b 100644 --- a/docs/reboot-fritzbox.md +++ b/docs/reboot-fritzbox.md @@ -154,4 +154,4 @@ echo $Result exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/reboot-into-bios.md b/docs/reboot-into-bios.md index ef8dcaee..c3c4d338 100644 --- a/docs/reboot-into-bios.md +++ b/docs/reboot-into-bios.md @@ -44,4 +44,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/reboot.md b/docs/reboot.md index 50ec3cc7..d1946fc0 100644 --- a/docs/reboot.md +++ b/docs/reboot.md @@ -59,4 +59,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/remember.md b/docs/remember.md index d48ca14e..35595945 100644 --- a/docs/remember.md +++ b/docs/remember.md @@ -104,4 +104,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/remind-me.md b/docs/remind-me.md index fac17499..7ca9d198 100644 --- a/docs/remind-me.md +++ b/docs/remind-me.md @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/remove-dir-tree.md b/docs/remove-dir-tree.md index c8795d87..2465e086 100644 --- a/docs/remove-dir-tree.md +++ b/docs/remove-dir-tree.md @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/remove-empty-dirs.md b/docs/remove-empty-dirs.md index 9ecd3220..4b345b65 100644 --- a/docs/remove-empty-dirs.md +++ b/docs/remove-empty-dirs.md @@ -92,4 +92,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/remove-old-dirs.md b/docs/remove-old-dirs.md index fd99ac92..9be9f978 100644 --- a/docs/remove-old-dirs.md +++ b/docs/remove-old-dirs.md @@ -102,4 +102,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/remove-print-jobs.md b/docs/remove-print-jobs.md index 84c2cec1..7555fc44 100644 --- a/docs/remove-print-jobs.md +++ b/docs/remove-print-jobs.md @@ -65,4 +65,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/remove-tag.md b/docs/remove-tag.md index 63ffcc91..641896ed 100644 --- a/docs/remove-tag.md +++ b/docs/remove-tag.md @@ -114,4 +114,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/remove-user.md b/docs/remove-user.md index 14fbc9d0..2b70018d 100644 --- a/docs/remove-user.md +++ b/docs/remove-user.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:40)* diff --git a/docs/remove-vm.md b/docs/remove-vm.md index 5750a5af..292c4196 100644 --- a/docs/remove-vm.md +++ b/docs/remove-vm.md @@ -25,4 +25,4 @@ Remove-Item -Path "C:\VirtualMachines\$VMName" -Recurse exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/replace-in-files.md b/docs/replace-in-files.md index 6aff5a35..746ff16c 100644 --- a/docs/replace-in-files.md +++ b/docs/replace-in-files.md @@ -107,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/restart-network-adapters.md b/docs/restart-network-adapters.md index 1ac7bce2..439e6b8a 100644 --- a/docs/restart-network-adapters.md +++ b/docs/restart-network-adapters.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/roll-a-dice.md b/docs/roll-a-dice.md index 0413f788..9916871a 100644 --- a/docs/roll-a-dice.md +++ b/docs/roll-a-dice.md @@ -51,4 +51,4 @@ $Number = "1", "2", "3", "4", "5", "6" | Get-Random exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/save-credentials.md b/docs/save-credentials.md index c8c39008..21df98c6 100644 --- a/docs/save-credentials.md +++ b/docs/save-credentials.md @@ -74,4 +74,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/save-screenshot.md b/docs/save-screenshot.md index 33f6b39c..333f1c07 100644 --- a/docs/save-screenshot.md +++ b/docs/save-screenshot.md @@ -99,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/scan-folder.md b/docs/scan-folder.md index 0502b505..cce16348 100644 --- a/docs/scan-folder.md +++ b/docs/scan-folder.md @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/scan-network.md b/docs/scan-network.md index 90b4daec..be7bb278 100644 --- a/docs/scan-network.md +++ b/docs/scan-network.md @@ -32,4 +32,4 @@ $arguments = $arguments + " " + $targets Start-Process $location -ArgumentList $arguments -Wait ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/scan-ports.md b/docs/scan-ports.md index 58c257ab..27f9e6b1 100644 --- a/docs/scan-ports.md +++ b/docs/scan-ports.md @@ -65,4 +65,4 @@ foreach($add in $range) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/search-filename.md b/docs/search-filename.md index 60037520..a164d29c 100644 --- a/docs/search-filename.md +++ b/docs/search-filename.md @@ -98,4 +98,4 @@ Search-Folder -FilePath $path -SearchTerm $term exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/search-files.md b/docs/search-files.md index cbd68d65..9c0b802a 100644 --- a/docs/search-files.md +++ b/docs/search-files.md @@ -83,14 +83,15 @@ Script Content param([string]$textPattern = "", [string]$filePattern = "") function ListLocations { param([string]$textPattern, [string]$filePattern) + $files = Get-Item $filePattern $list = Select-String -path $filePattern -pattern "$textPattern" foreach($item in $list) { New-Object PSObject -Property @{ 'FILE'="$($item.Path)"; 'LINE'="$($item.LineNumber):$($item.Line)" } } - "βœ… Found $($list.Count) lines containing '$textPattern' in $filePattern." + "βœ… Found $($list.Count) lines in $($files.Count) files containing '$textPattern'." } try { - if ($textPattern -eq "" ) { $textPattern = Read-Host "Enter the text pattern, e.g. 'UFO'" } - if ($filePattern -eq "" ) { $filePattern = Read-Host "Enter the file pattern, e.g. '*.ps1'" } + if ($textPattern -eq "" ) { $textPattern = Read-Host "Enter the text pattern (e.g. ALIEN)" } + if ($filePattern -eq "" ) { $filePattern = Read-Host "Enter the file pattern (e.g. *.txt)" } ListLocations $textPattern $filePattern | Format-Table -property FILE,LINE -autoSize exit 0 # success @@ -100,4 +101,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/search-repo.md b/docs/search-repo.md index 0214ce6a..e655822c 100644 --- a/docs/search-repo.md +++ b/docs/search-repo.md @@ -93,4 +93,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/send-email.md b/docs/send-email.md index f9ecadb9..2d1e2d0b 100644 --- a/docs/send-email.md +++ b/docs/send-email.md @@ -126,4 +126,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/send-tcp.md b/docs/send-tcp.md index 9d271dbf..6eeed1b4 100644 --- a/docs/send-tcp.md +++ b/docs/send-tcp.md @@ -107,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/send-udp.md b/docs/send-udp.md index 9d943962..e52d8920 100644 --- a/docs/send-udp.md +++ b/docs/send-udp.md @@ -105,4 +105,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/set-timer.md b/docs/set-timer.md index a5b7201d..a08331ba 100644 --- a/docs/set-timer.md +++ b/docs/set-timer.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/set-volume.md b/docs/set-volume.md index 9e3a8c30..9683fc39 100644 --- a/docs/set-volume.md +++ b/docs/set-volume.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/set-wallpaper.md b/docs/set-wallpaper.md index 7c7f5f42..3241043a 100644 --- a/docs/set-wallpaper.md +++ b/docs/set-wallpaper.md @@ -124,4 +124,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/show-lightnings.md b/docs/show-lightnings.md index 307c2dcb..01898c7b 100644 --- a/docs/show-lightnings.md +++ b/docs/show-lightnings.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/show-notification-motivation-quote.md b/docs/show-notification-motivation-quote.md index 26550d05..7d2f0650 100644 --- a/docs/show-notification-motivation-quote.md +++ b/docs/show-notification-motivation-quote.md @@ -69,4 +69,4 @@ $AppId = '{1AC14E77-02E7-4E5D-B744-2EB1AE5198B7}\WindowsPowerShell\v1.0\powershe ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/show-notification.md b/docs/show-notification.md index 9b1794c3..53f83eb7 100644 --- a/docs/show-notification.md +++ b/docs/show-notification.md @@ -99,4 +99,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/show-traffic.md b/docs/show-traffic.md index a63ce2d3..5f151d72 100644 --- a/docs/show-traffic.md +++ b/docs/show-traffic.md @@ -48,4 +48,4 @@ Script Content exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/simulate-presence.md b/docs/simulate-presence.md index 3aa2ec60..12fb37b2 100644 --- a/docs/simulate-presence.md +++ b/docs/simulate-presence.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/smart-data2csv.md b/docs/smart-data2csv.md index 2596ca22..911c10b5 100644 --- a/docs/smart-data2csv.md +++ b/docs/smart-data2csv.md @@ -142,4 +142,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/speak-arabic.md b/docs/speak-arabic.md index 60dce40d..4d918803 100644 --- a/docs/speak-arabic.md +++ b/docs/speak-arabic.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/speak-checklist.md b/docs/speak-checklist.md index 8d8e5333..8a234dbc 100644 --- a/docs/speak-checklist.md +++ b/docs/speak-checklist.md @@ -96,4 +96,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/speak-countdown.md b/docs/speak-countdown.md index 66dcbbf0..13376f9d 100644 --- a/docs/speak-countdown.md +++ b/docs/speak-countdown.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/speak-croatian.md b/docs/speak-croatian.md index 570b50ce..e2d2650a 100644 --- a/docs/speak-croatian.md +++ b/docs/speak-croatian.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/speak-danish.md b/docs/speak-danish.md index 025c02bd..e95de969 100644 --- a/docs/speak-danish.md +++ b/docs/speak-danish.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/speak-dutch.md b/docs/speak-dutch.md index 2cbfb23e..85a5cb7c 100644 --- a/docs/speak-dutch.md +++ b/docs/speak-dutch.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/speak-english.md b/docs/speak-english.md index bc0b396b..1c65cc0e 100644 --- a/docs/speak-english.md +++ b/docs/speak-english.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/speak-epub.md b/docs/speak-epub.md index 3c38b683..1d1817a5 100644 --- a/docs/speak-epub.md +++ b/docs/speak-epub.md @@ -140,4 +140,4 @@ foreach($item in $content.package.manifest.Item) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/speak-esperanto.md b/docs/speak-esperanto.md index 9eb6b428..b93bc705 100644 --- a/docs/speak-esperanto.md +++ b/docs/speak-esperanto.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/speak-file.md b/docs/speak-file.md index 32f7c176..bc69d857 100644 --- a/docs/speak-file.md +++ b/docs/speak-file.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/speak-finnish.md b/docs/speak-finnish.md index 0135d1ce..8335c006 100644 --- a/docs/speak-finnish.md +++ b/docs/speak-finnish.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/speak-french.md b/docs/speak-french.md index cde9ad95..4923f591 100644 --- a/docs/speak-french.md +++ b/docs/speak-french.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/speak-german.md b/docs/speak-german.md index e14ec1a4..13594675 100644 --- a/docs/speak-german.md +++ b/docs/speak-german.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/speak-greek.md b/docs/speak-greek.md index 7ab6ac93..9a5fb879 100644 --- a/docs/speak-greek.md +++ b/docs/speak-greek.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/speak-hebrew.md b/docs/speak-hebrew.md index 9a32c7ff..586da5bb 100644 --- a/docs/speak-hebrew.md +++ b/docs/speak-hebrew.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/speak-hindi.md b/docs/speak-hindi.md index f65ce96a..181cb8f9 100644 --- a/docs/speak-hindi.md +++ b/docs/speak-hindi.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/speak-italian.md b/docs/speak-italian.md index fff88c7e..70dc250a 100644 --- a/docs/speak-italian.md +++ b/docs/speak-italian.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/speak-japanese.md b/docs/speak-japanese.md index e7b74a7d..9a7d5f3b 100644 --- a/docs/speak-japanese.md +++ b/docs/speak-japanese.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/speak-korean.md b/docs/speak-korean.md index b4d26b01..efd412e5 100644 --- a/docs/speak-korean.md +++ b/docs/speak-korean.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/speak-latin.md b/docs/speak-latin.md index ae4e6aa8..cff9582d 100644 --- a/docs/speak-latin.md +++ b/docs/speak-latin.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/speak-mandarin.md b/docs/speak-mandarin.md index ec4b48ee..3ddde622 100644 --- a/docs/speak-mandarin.md +++ b/docs/speak-mandarin.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/speak-norwegian.md b/docs/speak-norwegian.md index 95b7c72e..6bce006d 100644 --- a/docs/speak-norwegian.md +++ b/docs/speak-norwegian.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/speak-polish.md b/docs/speak-polish.md index 998160e1..08636b6e 100644 --- a/docs/speak-polish.md +++ b/docs/speak-polish.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/speak-portuguese.md b/docs/speak-portuguese.md index 57a814c0..32ef09e1 100644 --- a/docs/speak-portuguese.md +++ b/docs/speak-portuguese.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/speak-russian.md b/docs/speak-russian.md index 372c5235..e891b34e 100644 --- a/docs/speak-russian.md +++ b/docs/speak-russian.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/speak-spanish.md b/docs/speak-spanish.md index a5edd0aa..6fdb45fe 100644 --- a/docs/speak-spanish.md +++ b/docs/speak-spanish.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/speak-swedish.md b/docs/speak-swedish.md index cc8b2565..207d3d90 100644 --- a/docs/speak-swedish.md +++ b/docs/speak-swedish.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/speak-test.md b/docs/speak-test.md index b12599f9..a7a2d8c5 100644 --- a/docs/speak-test.md +++ b/docs/speak-test.md @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/speak-text.md b/docs/speak-text.md index 644c4807..703e94de 100644 --- a/docs/speak-text.md +++ b/docs/speak-text.md @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/speak-thai.md b/docs/speak-thai.md index 15c548ff..baf61c6c 100644 --- a/docs/speak-thai.md +++ b/docs/speak-thai.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/speak-turkish.md b/docs/speak-turkish.md index 79adc235..e33122db 100644 --- a/docs/speak-turkish.md +++ b/docs/speak-turkish.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/speak-ukrainian.md b/docs/speak-ukrainian.md index 45d4696f..b8b97957 100644 --- a/docs/speak-ukrainian.md +++ b/docs/speak-ukrainian.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/spell-word.md b/docs/spell-word.md index 9d36020a..bd034eca 100644 --- a/docs/spell-word.md +++ b/docs/spell-word.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:58)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/start-ipfs-server.md b/docs/start-ipfs-server.md index 515436f7..8dbc1b55 100644 --- a/docs/start-ipfs-server.md +++ b/docs/start-ipfs-server.md @@ -90,4 +90,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/suspend.md b/docs/suspend.md index 6875746e..cb46b033 100644 --- a/docs/suspend.md +++ b/docs/suspend.md @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/switch-branch.md b/docs/switch-branch.md index cddae7f7..7f686206 100644 --- a/docs/switch-branch.md +++ b/docs/switch-branch.md @@ -128,4 +128,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/switch-shelly1.md b/docs/switch-shelly1.md index ecfacd65..09c9385e 100644 --- a/docs/switch-shelly1.md +++ b/docs/switch-shelly1.md @@ -97,4 +97,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/switch-tabs.md b/docs/switch-tabs.md index 7bc32b05..9d4f69e3 100644 --- a/docs/switch-tabs.md +++ b/docs/switch-tabs.md @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/sync-dir.md b/docs/sync-dir.md index 1038c2cc..1b2bb508 100644 --- a/docs/sync-dir.md +++ b/docs/sync-dir.md @@ -106,4 +106,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/sync-repo.md b/docs/sync-repo.md index 4df9653f..d0acc1d1 100644 --- a/docs/sync-repo.md +++ b/docs/sync-repo.md @@ -96,4 +96,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/tell-joke.md b/docs/tell-joke.md index caae2b38..503c9b3c 100644 --- a/docs/tell-joke.md +++ b/docs/tell-joke.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/tell-new-year.md b/docs/tell-new-year.md index e86fd55e..38d50d90 100644 --- a/docs/tell-new-year.md +++ b/docs/tell-new-year.md @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/tell-quote.md b/docs/tell-quote.md index 809481ee..fcbd0502 100644 --- a/docs/tell-quote.md +++ b/docs/tell-quote.md @@ -60,4 +60,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/toggle-caps-lock.md b/docs/toggle-caps-lock.md index 90bde538..3a72d626 100644 --- a/docs/toggle-caps-lock.md +++ b/docs/toggle-caps-lock.md @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/toggle-num-lock.md b/docs/toggle-num-lock.md index c24d524d..9f84169a 100644 --- a/docs/toggle-num-lock.md +++ b/docs/toggle-num-lock.md @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/toggle-scroll-lock.md b/docs/toggle-scroll-lock.md index 6e878b51..86783857 100644 --- a/docs/toggle-scroll-lock.md +++ b/docs/toggle-scroll-lock.md @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/touch.md b/docs/touch.md new file mode 100644 index 00000000..9862dcb9 --- /dev/null +++ b/docs/touch.md @@ -0,0 +1,74 @@ +The *touch.ps1* Script +=========================== + +This PowerShell script creates a new empty file. + +Parameters +---------- +```powershell +/Repos/PowerShell/scripts/touch.ps1 [[-filename] ] [] + +-filename + Path and filename of the new file + + Required? false + Position? 1 + Default value + Accept pipeline input? false + Aliases + Accept wildcard characters? false + +[] + This script supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, + WarningVariable, OutBuffer, PipelineVariable, and OutVariable. +``` + +Example +------- +```powershell +PS> ./touch.ps1 test.txt +βœ… Created a new empty file called 'test.txt'. + +``` + +Notes +----- +Author: Markus Fleschutz | License: CC0 + +Related Links +------------- +https://github.com/fleschutz/PowerShell + +Script Content +-------------- +```powershell +<# +.SYNOPSIS + Create an empty file +.DESCRIPTION + This PowerShell script creates a new empty file. +.PARAMETER filename + Path and filename of the new file +.EXAMPLE + PS> ./touch.ps1 test.txt + βœ… Created a new empty file called 'test.txt'. +.LINK + https://github.com/fleschutz/PowerShell +.NOTES + Author: Markus Fleschutz | License: CC0 +#> + +param([string]$filename = "") + +try { + if ($filename -eq "") { $filename = Read-Host "Enter the filename" } + "" | Out-File $filename -encoding ASCII + "βœ… Created a new empty file called '$filename'." + exit 0 # success +} catch { + "⚠️ Error: $($Error[0])" + exit 1 +} +``` + +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/translate-file.md b/docs/translate-file.md index e78352de..8143b228 100644 --- a/docs/translate-file.md +++ b/docs/translate-file.md @@ -111,4 +111,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/translate-files.md b/docs/translate-files.md index 52f03ecf..186de09c 100644 --- a/docs/translate-files.md +++ b/docs/translate-files.md @@ -106,4 +106,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/translate-text.md b/docs/translate-text.md index 57d5db6f..e39f87e2 100644 --- a/docs/translate-text.md +++ b/docs/translate-text.md @@ -107,4 +107,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/turn-volume-down.md b/docs/turn-volume-down.md index a7856db9..4560d889 100644 --- a/docs/turn-volume-down.md +++ b/docs/turn-volume-down.md @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/turn-volume-fully-up.md b/docs/turn-volume-fully-up.md index f403c9b3..3475aabc 100644 --- a/docs/turn-volume-fully-up.md +++ b/docs/turn-volume-fully-up.md @@ -56,4 +56,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/turn-volume-off.md b/docs/turn-volume-off.md index ce2d588a..e8680c66 100644 --- a/docs/turn-volume-off.md +++ b/docs/turn-volume-off.md @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/turn-volume-on.md b/docs/turn-volume-on.md index 51418ed7..9a7d523e 100644 --- a/docs/turn-volume-on.md +++ b/docs/turn-volume-on.md @@ -54,4 +54,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/turn-volume-up.md b/docs/turn-volume-up.md index 3acd7407..d6e66f54 100644 --- a/docs/turn-volume-up.md +++ b/docs/turn-volume-up.md @@ -70,4 +70,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/uninstall-all-apps.md b/docs/uninstall-all-apps.md index 7b5779a5..5fa1a03d 100644 --- a/docs/uninstall-all-apps.md +++ b/docs/uninstall-all-apps.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/uninstall-bloatware.md b/docs/uninstall-bloatware.md index 4344cf45..aa9af0bf 100644 --- a/docs/uninstall-bloatware.md +++ b/docs/uninstall-bloatware.md @@ -98,4 +98,4 @@ winget uninstall 'Prime Video for Windows' exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/uninstall-new-outlook.md b/docs/uninstall-new-outlook.md index b84553ea..bf39daa9 100644 --- a/docs/uninstall-new-outlook.md +++ b/docs/uninstall-new-outlook.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/uninstall-outlook.md b/docs/uninstall-outlook.md index 929cdd6b..236f1c8b 100644 --- a/docs/uninstall-outlook.md +++ b/docs/uninstall-outlook.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/update-powershell-profile.md b/docs/update-powershell-profile.md index 5b288d68..7572b0fb 100644 --- a/docs/update-powershell-profile.md +++ b/docs/update-powershell-profile.md @@ -81,4 +81,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:41)* diff --git a/docs/upgrade-ubuntu.md b/docs/upgrade-ubuntu.md index 5f84b185..945250ad 100644 --- a/docs/upgrade-ubuntu.md +++ b/docs/upgrade-ubuntu.md @@ -87,4 +87,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/upload-file.md b/docs/upload-file.md index 17cd49b6..7b8fd8e1 100644 --- a/docs/upload-file.md +++ b/docs/upload-file.md @@ -149,4 +149,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/upload-to-dropbox.md b/docs/upload-to-dropbox.md index 681d5b10..cf283500 100644 --- a/docs/upload-to-dropbox.md +++ b/docs/upload-to-dropbox.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/wake-up-host.md b/docs/wake-up-host.md index d4d65a55..4fd16406 100644 --- a/docs/wake-up-host.md +++ b/docs/wake-up-host.md @@ -124,4 +124,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/wake-up-human.md b/docs/wake-up-human.md index 20731dc3..077c2ceb 100644 --- a/docs/wake-up-human.md +++ b/docs/wake-up-human.md @@ -52,4 +52,4 @@ do { ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/watch-commits.md b/docs/watch-commits.md index af53218f..bc6e433a 100644 --- a/docs/watch-commits.md +++ b/docs/watch-commits.md @@ -125,4 +125,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/watch-crypto-rates.md b/docs/watch-crypto-rates.md index dac5bb33..c26e7877 100644 --- a/docs/watch-crypto-rates.md +++ b/docs/watch-crypto-rates.md @@ -80,4 +80,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/watch-file.md b/docs/watch-file.md index e26e2a78..f61bc2c9 100644 --- a/docs/watch-file.md +++ b/docs/watch-file.md @@ -64,4 +64,4 @@ function Watch-File { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/watch-host.md b/docs/watch-host.md index 41165db9..76e64332 100644 --- a/docs/watch-host.md +++ b/docs/watch-host.md @@ -147,4 +147,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/watch-news.md b/docs/watch-news.md index f3a4f697..94984fdf 100644 --- a/docs/watch-news.md +++ b/docs/watch-news.md @@ -123,4 +123,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/watch-ping.md b/docs/watch-ping.md index 9d05e7a6..064f1ef6 100644 --- a/docs/watch-ping.md +++ b/docs/watch-ping.md @@ -137,4 +137,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/weather-report.md b/docs/weather-report.md index 28833edc..b93ba3e6 100644 --- a/docs/weather-report.md +++ b/docs/weather-report.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/weather.md b/docs/weather.md index 87ffae9e..5dc21923 100644 --- a/docs/weather.md +++ b/docs/weather.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/what-is.md b/docs/what-is.md index 61e4aae8..daec4f24 100644 --- a/docs/what-is.md +++ b/docs/what-is.md @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/windefender.md b/docs/windefender.md index 0b33408f..0b864178 100644 --- a/docs/windefender.md +++ b/docs/windefender.md @@ -82,4 +82,4 @@ break } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/write-animated.md b/docs/write-animated.md index 2dbfe438..4bd74cda 100644 --- a/docs/write-animated.md +++ b/docs/write-animated.md @@ -94,4 +94,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/write-ascii-image.md b/docs/write-ascii-image.md index 8b572ef3..b8a7337e 100644 --- a/docs/write-ascii-image.md +++ b/docs/write-ascii-image.md @@ -61,4 +61,4 @@ WriteLine " '`--._,dd###pp='''" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/write-big.md b/docs/write-big.md index 5cad3b69..a18de1b4 100644 --- a/docs/write-big.md +++ b/docs/write-big.md @@ -472,4 +472,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/write-blue.md b/docs/write-blue.md index 2e551f34..3c31df01 100644 --- a/docs/write-blue.md +++ b/docs/write-blue.md @@ -65,4 +65,4 @@ write-host -foregroundColor blue "$text" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/write-braille.md b/docs/write-braille.md index ce27ad37..655049cb 100644 --- a/docs/write-braille.md +++ b/docs/write-braille.md @@ -409,4 +409,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/write-centered.md b/docs/write-centered.md index f2cde957..31ece537 100644 --- a/docs/write-centered.md +++ b/docs/write-centered.md @@ -77,4 +77,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/write-changelog.md b/docs/write-changelog.md index 4b51c125..27001994 100644 --- a/docs/write-changelog.md +++ b/docs/write-changelog.md @@ -155,4 +155,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/write-chart.md b/docs/write-chart.md index 21851f60..53ee6d37 100644 --- a/docs/write-chart.md +++ b/docs/write-chart.md @@ -68,4 +68,4 @@ WriteChartLine "Tom" 30.9 100.0 exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/write-clock.md b/docs/write-clock.md index f07855d0..c768bc18 100644 --- a/docs/write-clock.md +++ b/docs/write-clock.md @@ -73,4 +73,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/write-code.md b/docs/write-code.md index a6ac47c1..6338d87f 100644 --- a/docs/write-code.md +++ b/docs/write-code.md @@ -23,7 +23,7 @@ Parameters Required? false Position? 2 - Default value 500 + Default value 200 Accept pipeline input? false Aliases Accept wildcard characters? false @@ -66,51 +66,75 @@ Script Content https://github.com/fleschutz/PowerShell #> -param([string]$color = "green", [int]$speed = 500) # milliseconds +param([string]$color = "green", [int]$speed = 200) # milliseconds -[string]$global:Tabs = "" - -function GetRandomCodeLine { - $Generator = New-Object System.Random - $Num = [int]$Generator.next(0, 31) - switch($Num) { - 0 { return $Tabs + "`$count = 0" } - 1 { return $Tabs + "`$count++" } - 2 { return $Tabs + "exit 0 # success" } - 3 { return $Tabs + "`$files = Get-ChildItem C:" } - 4 { return $Tabs + "Start-Sleep -seconds 1" } - 5 { return $Tabs + "`$generator = New-Object System-Random" } - 6 { $global:Tabs = " "; return "} else {" } - 7 { $global:Tabs = " "; return "} catch {" } - 8 { $global:Tabs = " "; return "} elseif (`$count -eq 0) {" } - 9 { return $Tabs + "Write-Host `"Hello World`" " } - 10 { $global:Tabs = " "; return "while (`$true) {" } - 11 { return $Tabs + "# next part:" } - 12 { return $Tabs + "exit 1 # failed" } - 13 { return $Tabs + "return 1" } - 14 { return $Tabs + "return 0" } - 15 { return $Tabs + "Write-Progress `"Working...`" " } - 16 { return $Tabs + "[bool]`$keepAlive = `$true" } - 17 { return $Tabs + "# Copyright Β© 2023 write-code.ps1. All Rights Reserved." } - 18 { $global:Tabs = " "; return "for ([int]`$i = 0; `$i -lt 42; `$i++) {" } - 19 { return $Tabs + "`$stopWatch = [system.diagnostics.stopwatch]::startNew()" } - 20 { return $Tabs + "[int]`$elapsed = `$stopWatch.Elapsed.TotalSeconds" } - 21 { $global:Tabs = " "; return "if (`$count -eq 42) {" } - 22 { $global:Tabs = " "; return "} finally {" } - 23 { return $Tabs + "throw `"Can't open file`" " } - 24 { return $Tabs + "Start-Sleep -milliseconds 42" } - 25 { return $Tabs + "`$Choice = Read-Host `"Red or blue pill?`"" } - 26 { return $Tabs + "[int]`$answer = 42" } - 27 { $global:Tabs = ""; return "}" } - 28 { $global:Tabs = " "; return "try {" } - 29 { $global:Tabs = " "; return "foreach(`$row in `$table) {" } - 30 { $global:Tabs = " "; return "foreach(`$file in `$files) {" } +function GetCodeLine { + $generator = New-Object System.Random + $number = [int]$generator.next(0, 42) + switch($number) { + 0 { return "`$count = 0" } + 1 { return "`$count++" } + 2 { return "exit 0 # success" } + 3 { return "`$files = Get-ChildItem C:" } + 4 { return "Start-Sleep -seconds 1" } + 5 { return "`$generator = New-Object System-Random" } + 6 { return "} else {" } + 7 { return "} catch {" } + 8 { return "} elseif (`$count -eq 0) {" } + 9 { return "Write-Host `"Hello World`" " } + 10 { return "while (`$true) {" } + 11 { return "# next part:" } + 12 { return "exit 1 # failed" } + 13 { return "return 1" } + 14 { return "return 0" } + 15 { return "Write-Progress `"Working...`" " } + 16 { return "[bool]`$keepAlive = `$true" } + 17 { return "for ([int]`$i = 0; `$i -lt 42; `$i++) {" } + 18 { return "`$stopWatch = [system.diagnostics.stopwatch]::startNew()" } + 19 { return "[int]`$elapsed = `$stopWatch.Elapsed.TotalSeconds" } + 20 { return "if (`$count -eq 42) {" } + 21 { return "} finally {" } + 22 { return "throw `"Can't open file`" " } + 23 { return "Start-Sleep -milliseconds 42" } + 24 { return "`$choice = Read-Host `"Red or blue pill?`"" } + 25 { return "[int]`$answer = 42" } + 26 { return "}" } + 27 { return "try {" } + 28 { return "foreach(`$row in `$table) {" } + 29 { return "foreach(`$column in `$row) {" } + 30 { return "foreach(`$file in `$files) {" } + 31 { return "foreach(`$line in `$file) {" } + 32 { return "foreach(`$word in `$file) {" } + 33 { return "foreach(`$character in `$word) {" } + 34 { return "}" } + 35 { return "`$a,`$b = `$b,`$a" } + 36 { return "do {" } + 37 { return "} while (`$false)" } + 38 { return "`$count += 42" } + 39 { return "foreach (`$item in (Get-Process)) {" } + 40 { return "}" } + 41 { return "}" } + 42 { return "}" } } } try { + Write-Host -foreground $color "#" + Write-Host -foreground $color "# Copyright Β© 2025 by AI. All software pirates will be hacked :-)" + Write-Host -foreground $color "#" + [int]$indent = 0 while ($true) { - Write-Host -foreground $color "$(GetRandomCodeLine)" + $line = GetCodeLine + if ($line.Substring(0,1) -eq "}") { + $indent-- + } + for ([int]$i = 0; $i -lt $indent; $i++) { + Write-Host " " -noNewline + } + Write-Host "$line" -foreground $color + if ($line.Substring($line.length-1,1) -eq "{") { + $indent++ + } Start-Sleep -milliseconds $speed } exit 0 # success @@ -120,4 +144,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/write-credits.md b/docs/write-credits.md index b6497935..7f63be7b 100644 --- a/docs/write-credits.md +++ b/docs/write-credits.md @@ -76,4 +76,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/write-date.md b/docs/write-date.md index 7dba6073..e912492d 100644 --- a/docs/write-date.md +++ b/docs/write-date.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/write-fractal.md b/docs/write-fractal.md index a5e60ae8..a773df3e 100644 --- a/docs/write-fractal.md +++ b/docs/write-fractal.md @@ -79,4 +79,4 @@ while ($true) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/write-green.md b/docs/write-green.md index bbe09d29..97cf6b63 100644 --- a/docs/write-green.md +++ b/docs/write-green.md @@ -64,4 +64,4 @@ write-host -foregroundColor green "$text" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/write-hands-off.md b/docs/write-hands-off.md index c8540573..f3d39618 100644 --- a/docs/write-hands-off.md +++ b/docs/write-hands-off.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/write-headline.md b/docs/write-headline.md index 9851e027..0002efb9 100644 --- a/docs/write-headline.md +++ b/docs/write-headline.md @@ -78,4 +78,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/write-help.md b/docs/write-help.md index 70f0a58b..32e1fe8f 100644 --- a/docs/write-help.md +++ b/docs/write-help.md @@ -64,4 +64,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/write-in-emojis.md b/docs/write-in-emojis.md index b73e7fcc..e8280afb 100644 --- a/docs/write-in-emojis.md +++ b/docs/write-in-emojis.md @@ -75,4 +75,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/write-joke.md b/docs/write-joke.md index 2ae533a9..2d414042 100644 --- a/docs/write-joke.md +++ b/docs/write-joke.md @@ -1,7 +1,7 @@ The *write-joke.ps1* Script =========================== -This PowerShell script selects a random joke from Data/jokes.csv and writes it to the console. +This PowerShell script selects a random joke (from Data/jokes.csv) and writes it to the console. Parameters ---------- @@ -36,7 +36,7 @@ Script Content .SYNOPSIS Writes a random joke .DESCRIPTION - This PowerShell script selects a random joke from Data/jokes.csv and writes it to the console. + This PowerShell script selects a random joke (from Data/jokes.csv) and writes it to the console. .EXAMPLE PS> ./write-joke.ps1 Chuck Norris can dribble a bowling ball. πŸ˜‚ @@ -50,15 +50,15 @@ try { $table = Import-CSV "$PSScriptRoot/../data/jokes.csv" $randomNumberGenerator = New-Object System.Random - $row = [int]$randomNumberGenerator.next(0, $table.Count - 1) - $joke = $table[$row].JOKE + $rowNumber = [int]$randomNumberGenerator.next(0, $table.Count - 1) + $joke = $table[$rowNumber].JOKE - Write-Host "`n$Joke πŸ˜‚" -foregroundColor Magenta + Write-Host "`n$Joke πŸ˜‚" -foregroundColor Green exit 0 # success } catch { - "⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])" + "⚠️ Error: $($Error[0])" exit 1 } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/write-location.md b/docs/write-location.md index 408a1d0b..30993af0 100644 --- a/docs/write-location.md +++ b/docs/write-location.md @@ -62,4 +62,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/write-lowercase.md b/docs/write-lowercase.md index 0fca1b02..657d3e9b 100644 --- a/docs/write-lowercase.md +++ b/docs/write-lowercase.md @@ -66,4 +66,4 @@ Write-Output $text.ToLower() exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/write-marquee.md b/docs/write-marquee.md index e8fff520..65098313 100644 --- a/docs/write-marquee.md +++ b/docs/write-marquee.md @@ -91,4 +91,4 @@ StartMarquee " exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/write-matrix.md b/docs/write-matrix.md index c7f91bf1..c704207b 100644 --- a/docs/write-matrix.md +++ b/docs/write-matrix.md @@ -81,4 +81,4 @@ exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/write-moon.md b/docs/write-moon.md index 8b7e32d2..780d58a0 100644 --- a/docs/write-moon.md +++ b/docs/write-moon.md @@ -53,4 +53,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/write-morse-code.md b/docs/write-morse-code.md index e765880e..0e72530d 100644 --- a/docs/write-morse-code.md +++ b/docs/write-morse-code.md @@ -155,4 +155,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/write-motd.md b/docs/write-motd.md index 41650d4d..ad14d524 100644 --- a/docs/write-motd.md +++ b/docs/write-motd.md @@ -140,4 +140,4 @@ Write-Host " 'VEzjt:;;z>*`` " -ForegroundColor Yellow exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/write-pi.md b/docs/write-pi.md index f0af4a6f..e5a07093 100644 --- a/docs/write-pi.md +++ b/docs/write-pi.md @@ -118,4 +118,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/write-progress-bar.md b/docs/write-progress-bar.md index a9d41842..d7e92dbf 100644 --- a/docs/write-progress-bar.md +++ b/docs/write-progress-bar.md @@ -27,4 +27,4 @@ do { } while ($true) ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/write-qr-code.md b/docs/write-qr-code.md index 5e943dd6..2c545303 100644 --- a/docs/write-qr-code.md +++ b/docs/write-qr-code.md @@ -65,4 +65,4 @@ Write-Host " " -foregroundColor black -backgroundCol exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/write-quote.md b/docs/write-quote.md index 491fd98f..37c123ae 100644 --- a/docs/write-quote.md +++ b/docs/write-quote.md @@ -67,4 +67,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/write-red.md b/docs/write-red.md index 363677ed..5214a423 100644 --- a/docs/write-red.md +++ b/docs/write-red.md @@ -64,4 +64,4 @@ write-host -foregroundcolor red "$text" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/write-rot13.md b/docs/write-rot13.md index 9276b758..5789e428 100644 --- a/docs/write-rot13.md +++ b/docs/write-rot13.md @@ -83,4 +83,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/write-shit.md b/docs/write-shit.md index f6ede735..ff420a69 100644 --- a/docs/write-shit.md +++ b/docs/write-shit.md @@ -50,4 +50,4 @@ Write-Output "πŸ’©" exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/write-sine-curves.md b/docs/write-sine-curves.md index 545a3cf9..5ccafef4 100644 --- a/docs/write-sine-curves.md +++ b/docs/write-sine-curves.md @@ -56,4 +56,4 @@ Script Content } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/write-story.md b/docs/write-story.md index 9cebe4e1..6cb4463e 100644 --- a/docs/write-story.md +++ b/docs/write-story.md @@ -75,4 +75,4 @@ foreach($line in $story) { exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/write-time.md b/docs/write-time.md index 935bf13d..0fc68530 100644 --- a/docs/write-time.md +++ b/docs/write-time.md @@ -57,4 +57,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/write-typewriter.md b/docs/write-typewriter.md index b0cba7b1..1f1f3ea1 100644 --- a/docs/write-typewriter.md +++ b/docs/write-typewriter.md @@ -84,4 +84,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/write-uppercase.md b/docs/write-uppercase.md index 23f547d5..9352ed7b 100644 --- a/docs/write-uppercase.md +++ b/docs/write-uppercase.md @@ -66,4 +66,4 @@ Write-Output $text.ToUpper() exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/write-value.md b/docs/write-value.md index f1b46637..6e024cfb 100644 --- a/docs/write-value.md +++ b/docs/write-value.md @@ -153,4 +153,4 @@ Write-Host "CPU too hot " exit 0 # success ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/write-vertical.md b/docs/write-vertical.md index b4e33eeb..0b81a292 100644 --- a/docs/write-vertical.md +++ b/docs/write-vertical.md @@ -72,4 +72,4 @@ try { } ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/docs/write-xmas-tree.md b/docs/write-xmas-tree.md index 5df79f73..bdf852e5 100644 --- a/docs/write-xmas-tree.md +++ b/docs/write-xmas-tree.md @@ -132,4 +132,4 @@ do { ``` -*(page generated by convert-ps2md.ps1 as of 05/12/2025 22:02:59)* +*(page generated by convert-ps2md.ps1 as of 06/22/2025 10:37:42)* diff --git a/scripts/cd-sync.ps1 b/scripts/cd-sync.ps1 old mode 100644 new mode 100755 diff --git a/scripts/copy-videos-sorted.ps1 b/scripts/copy-videos-sorted.ps1 old mode 100644 new mode 100755 diff --git a/scripts/install-syncthing.ps1 b/scripts/install-syncthing.ps1 old mode 100644 new mode 100755 diff --git a/scripts/kill-process.ps1 b/scripts/kill-process.ps1 old mode 100644 new mode 100755 diff --git a/scripts/touch.ps1 b/scripts/touch.ps1 old mode 100644 new mode 100755